Add custom memory allocator to MinGW and MacOS builds
[gitweb.git] / builtin-send-pack.c
index 473a3de40c4cc9aab5c1355d0602646234e7bc1c..be3b0926deeb38f34b75c08bedf29fd80bac9b3c 100644 (file)
@@ -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);