X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=remote.h;h=091b1d041f8a4d255f59bfc001e098e692dbc15c;hb=3814c07498f87e7d27b55175ca2852fcc4cd27f4;hp=c2f557357fd4a0eb247f0e6f688efd10f946a08a;hpb=6c99f18660f62f90b83f0592c81ab6a4092d6d13;p=git.git diff --git a/remote.h b/remote.h index c2f557357..091b1d041 100644 --- a/remote.h +++ b/remote.h @@ -53,6 +53,8 @@ struct refspec { char *dst; }; +extern const struct refspec *tag_refspec; + struct ref *alloc_ref(unsigned namelen); struct ref *alloc_ref_from_str(const char* str); @@ -127,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