diff options
author | Junio C Hamano <gitster@pobox.com> | 2009-04-13 01:46:42 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-04-13 01:46:42 +0200 |
commit | 3e52effcf6efa9ef27b3d67d13f535a0381e3bf2 (patch) | |
tree | 5361ee873615264333932f876287ee66287970e6 /refs.h | |
parent | Merge branch 'fg/remote-prune' (diff) | |
parent | branch: show upstream branch when double verbose (diff) | |
download | git-3e52effcf6efa9ef27b3d67d13f535a0381e3bf2.tar.xz git-3e52effcf6efa9ef27b3d67d13f535a0381e3bf2.zip |
Merge branch 'jk/show-upstream'
* jk/show-upstream:
branch: show upstream branch when double verbose
make get_short_ref a public function
for-each-ref: add "upstream" format field
for-each-ref: refactor refname handling
for-each-ref: refactor get_short_ref function
Diffstat (limited to 'refs.h')
-rw-r--r-- | refs.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -81,6 +81,7 @@ extern int for_each_reflog(each_ref_fn, void *); extern int check_ref_format(const char *target); extern const char *prettify_ref(const struct ref *ref); +extern char *shorten_unambiguous_ref(const char *ref); /** rename ref, return 0 on success **/ extern int rename_ref(const char *oldref, const char *newref, const char *logmsg); |