4 #define TAG_REFSPEC "refs/tags/*:refs/tags/*"
5 extern const struct refspec *tag_refspec;
10 unsigned matching : 1;
11 unsigned exact_sha1 : 1;
17 int valid_fetch_refspec(const char *refspec);
18 struct refspec *parse_fetch_refspec(int nr_refspec, const char **refspec);
19 struct refspec *parse_push_refspec(int nr_refspec, const char **refspec);
21 void free_refspec(int nr_refspec, struct refspec *refspec);
23 #endif /* REFSPEC_H */