diff options
Diffstat (limited to 'refspec.c')
| -rw-r--r-- | refspec.c | 19 |
1 files changed, 5 insertions, 14 deletions
@@ -1,20 +1,11 @@ -#include "cache.h" +#include "git-compat-util.h" +#include "gettext.h" +#include "hash.h" +#include "hex.h" #include "strvec.h" #include "refs.h" #include "refspec.h" - -static struct refspec_item s_tag_refspec = { - .force = 0, - .pattern = 1, - .matching = 0, - .exact_sha1 = 0, - .negative = 0, - .src = "refs/tags/*", - .dst = "refs/tags/*", -}; - -/* See TAG_REFSPEC for the string version */ -const struct refspec_item *tag_refspec = &s_tag_refspec; +#include "strbuf.h" /* * Parses the provided refspec 'refspec' and populates the refspec_item 'item'. |
