]> asedeno.scripts.mit.edu Git - git.git/blobdiff - refs.h
Merge branch 'jk/no-no-no-empty-directory'
[git.git] / refs.h
diff --git a/refs.h b/refs.h
index abb125754d7b23ef61fa9b130f1614ffea0a79de..29d17a48e4a2923bc72337deb1ef64cf7b467381 100644 (file)
--- a/refs.h
+++ b/refs.h
@@ -80,6 +80,9 @@ extern int for_each_reflog(each_ref_fn, void *);
 #define CHECK_REF_FORMAT_WILDCARD (-3)
 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, int strict);
+
 /** rename ref, return 0 on success **/
 extern int rename_ref(const char *oldref, const char *newref, const char *logmsg);