X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=remote.h;h=091b1d041f8a4d255f59bfc001e098e692dbc15c;hb=2454ac7b9fbc12db5cca8cd388422360528d7d6f;hp=c2f557357fd4a0eb247f0e6f688efd10f946a08a;hpb=7e83003029ed488253f6173b047a9c77933c8561;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