diff options
author | Carlos Martín Nieto <carlos@cmartin.tk> | 2011-10-09 04:59:01 +0400 |
---|---|---|
committer | Carlos Martín Nieto <carlos@cmartin.tk> | 2011-11-19 00:57:16 +0400 |
commit | dc9e960f4be2e2fab10ecaeb5934c236ec729d9b (patch) | |
tree | 3eb362496cee1aa7c30cb0a1b823e8d476f9ef9e /src/refspec.h | |
parent | 617bfdf47fbe307070dcd084a4e3ea410823c88c (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.h | 5 |
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); |