summaryrefslogtreecommitdiff
path: root/builtin-send-pack.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2009-05-23 01:43:50 -0700
committerJunio C Hamano <gitster@pobox.com>2009-05-23 01:43:50 -0700
commit44ee247f8db243fbd3c50fee0fe35696ed7da8d3 (patch)
tree3bab3e93cd2752fd0e45d5b982242addbf20c18d /builtin-send-pack.c
parent212fa1d96040a01054d6bd92ee2bb74fe7071d33 (diff)
parentde435ac0f633b1f68dba2970cb7fa019171e40fe (diff)
downloadgit-44ee247f8db243fbd3c50fee0fe35696ed7da8d3.tar.gz
Merge branch 'fc/decorate-tag'
* fc/decorate-tag: Prettify log decorations even more Change prettify_ref to prettify_refname
Diffstat (limited to 'builtin-send-pack.c')
-rw-r--r--builtin-send-pack.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin-send-pack.c b/builtin-send-pack.c
index 473a3de40c..be3b0926de 100644
--- a/builtin-send-pack.c
+++ b/builtin-send-pack.c
@@ -178,9 +178,9 @@ static void print_ref_status(char flag, const char *summary, struct ref *to, str
{
fprintf(stderr, " %c %-*s ", flag, SUMMARY_WIDTH, summary);
if (from)
- fprintf(stderr, "%s -> %s", prettify_ref(from), prettify_ref(to));
+ fprintf(stderr, "%s -> %s", prettify_refname(from->name), prettify_refname(to->name));
else
- fputs(prettify_ref(to), stderr);
+ fputs(prettify_refname(to->name), stderr);
if (msg) {
fputs(" (", stderr);
fputs(msg, stderr);