X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=remote.h;h=2601f6e76d52c6a201e3952fb8b2c988eed33700;hb=2beec8973394e29353a9dccee45657870852ba33;hp=091b1d041f8a4d255f59bfc001e098e692dbc15c;hpb=88bbda08d7b9503862a8fb8846d78c67825e5e3d;p=git.git diff --git a/remote.h b/remote.h index 091b1d041..2601f6e76 100644 --- a/remote.h +++ b/remote.h @@ -78,6 +78,7 @@ void ref_remove_duplicates(struct ref *ref_map); int valid_fetch_refspec(const char *refspec); struct refspec *parse_fetch_refspec(int nr_refspec, const char **refspec); struct refspec *parse_push_refspec(int nr_refspec, const char **refspec); +void free_refspecs(struct refspec *refspec, int nr_refspec); int match_refs(struct ref *src, struct ref *dst, struct ref ***dst_tail, int nr_refspec, const char **refspec, int all);