summaryrefslogtreecommitdiff
path: root/refs.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2009-04-12 16:46:42 -0700
committerJunio C Hamano <gitster@pobox.com>2009-04-12 16:46:42 -0700
commit3e52effcf6efa9ef27b3d67d13f535a0381e3bf2 (patch)
tree5361ee873615264333932f876287ee66287970e6 /refs.h
parentc276857ee250ca1c3a36cba8358f50ba01e97917 (diff)
parent2d8a7f0b30b4f9ef750ab763aabec117ffe4e749 (diff)
downloadgit-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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/refs.h b/refs.h
index 2f6a8af608..50abbbb2aa 100644
--- a/refs.h
+++ b/refs.h
@@ -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);