summaryrefslogtreecommitdiff
path: root/refs.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2009-03-26 07:28:46 (GMT)
committerJunio C Hamano <gitster@pobox.com>2009-03-26 07:28:46 (GMT)
commitf23336f5c15eb90df3275076181d10746479be5b (patch)
treee1be7917fda3ee83120b58faf2a862a42275193d /refs.h
parent3fcee259d023087184c63eedf1015be6e23ea6e1 (diff)
parent64fcef2daa03f6093b480142c6ab2a4173b0b43e (diff)
downloadgit-f23336f5c15eb90df3275076181d10746479be5b.zip
git-f23336f5c15eb90df3275076181d10746479be5b.tar.gz
git-f23336f5c15eb90df3275076181d10746479be5b.tar.bz2
Merge branch 'db/push-cleanup'
* db/push-cleanup: Move push matching and reporting logic into transport.c Use a common function to get the pretty name of refs Conflicts: transport.c
Diffstat (limited to 'refs.h')
-rw-r--r--refs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/refs.h b/refs.h
index 29bdcec..68c2d16 100644
--- a/refs.h
+++ b/refs.h
@@ -79,6 +79,8 @@ 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);
+
/** rename ref, return 0 on success **/
extern int rename_ref(const char *oldref, const char *newref, const char *logmsg);