X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=remote.h;h=091b1d041f8a4d255f59bfc001e098e692dbc15c;hb=3814c07498f87e7d27b55175ca2852fcc4cd27f4;hp=2ee83a33b3bb7ddaa5bb33493dacfbeca4ae5dbe;hpb=e13067a7499f3cbf543d4a30865c70613f055b4b;p=git.git diff --git a/remote.h b/remote.h index 2ee83a33b..091b1d041 100644 --- a/remote.h +++ b/remote.h @@ -47,11 +47,14 @@ int remote_has_url(struct remote *remote, const char *url); struct refspec { unsigned force : 1; unsigned pattern : 1; + unsigned matching : 1; char *src; char *dst; }; +extern const struct refspec *tag_refspec; + struct ref *alloc_ref(unsigned namelen); struct ref *alloc_ref_from_str(const char* str); @@ -126,4 +129,8 @@ enum match_refs_flags { MATCH_REFS_MIRROR = (1 << 1), }; +/* Reporting of tracking info */ +int stat_tracking_info(struct branch *branch, int *num_ours, int *num_theirs); +int format_tracking_info(struct branch *branch, struct strbuf *sb); + #endif