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