Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Martín Nieto <carlos@cmartin.tk>2011-10-09 04:59:01 +0400
committerCarlos Martín Nieto <carlos@cmartin.tk>2011-11-19 00:57:16 +0400
commitdc9e960f4be2e2fab10ecaeb5934c236ec729d9b (patch)
tree3eb362496cee1aa7c30cb0a1b823e8d476f9ef9e /src/refspec.h
parent617bfdf47fbe307070dcd084a4e3ea410823c88c (diff)
refspec: make the structure more complete
Add a next pointer to make it a linked list and add the 'pattern' and 'matching' flags. Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
Diffstat (limited to 'src/refspec.h')
-rw-r--r--src/refspec.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/refspec.h b/src/refspec.h
index 58f3fe472..7c389719b 100644
--- a/src/refspec.h
+++ b/src/refspec.h
@@ -10,9 +10,12 @@
#include "git2/refspec.h"
struct git_refspec {
- int force;
+ struct git_refspec *next;
char *src;
char *dst;
+ unsigned int force :1,
+ pattern :1,
+ matching :1;
};
int git_refspec_parse(struct git_refspec *refspec, const char *str);