diff options
author | Felipe Contreras <felipe.contreras@gmail.com> | 2009-05-14 00:22:04 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-05-13 20:55:48 -0700 |
commit | 4577e483648f50dd80faa401dc1d3eb33ffb627b (patch) | |
tree | fcde4fade4012f4ab0004d6590c05f63e4e66d5c /refs.h | |
parent | f01f1099f40f24fe6f7802185340a6fa3a3d4f35 (diff) | |
download | git-4577e483648f50dd80faa401dc1d3eb33ffb627b.tar.gz |
Change prettify_ref to prettify_refname
In preparation to be used when the ref object is not available
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Acked-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'refs.h')
-rw-r--r-- | refs.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -80,7 +80,7 @@ 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 const char *prettify_refname(const char *refname); extern char *shorten_unambiguous_ref(const char *ref, int strict); /** rename ref, return 0 on success **/ |