summaryrefslogtreecommitdiff
path: root/builtin-send-pack.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2009-05-23 01:43:50 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-05-23 01:43:50 -0700
commit44ee247f8db243fbd3c50fee0fe35696ed7da8d3 (patch)
tree3bab3e93cd2752fd0e45d5b982242addbf20c18d /builtin-send-pack.c
parentMerge branch 'tp/send-email-from-config' (diff)
parentPrettify log decorations even more (diff)
downloadtgif-44ee247f8db243fbd3c50fee0fe35696ed7da8d3.tar.xz
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);