diff options
author | Junio C Hamano <gitster@pobox.com> | 2009-04-12 16:46:42 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-04-12 16:46:42 -0700 |
commit | 3e52effcf6efa9ef27b3d67d13f535a0381e3bf2 (patch) | |
tree | 5361ee873615264333932f876287ee66287970e6 /refs.h | |
parent | c276857ee250ca1c3a36cba8358f50ba01e97917 (diff) | |
parent | 2d8a7f0b30b4f9ef750ab763aabec117ffe4e749 (diff) | |
download | git-3e52effcf6efa9ef27b3d67d13f535a0381e3bf2.tar.gz |
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); |