Code

Prettify log decorations even more
[git.git] / builtin-fetch.c
index 3c998ea740adf474ee980fc763bd7156b9ce81af..ebd0c0878835c0664d59e62d0b269db313d5a422 100644 (file)
@@ -197,7 +197,7 @@ static int update_local_ref(struct ref *ref,
        struct commit *current = NULL, *updated;
        enum object_type type;
        struct branch *current_branch = branch_get(NULL);
-       const char *pretty_ref = prettify_ref(ref);
+       const char *pretty_ref = prettify_refname(ref->name);
 
        *display = 0;
        type = sha1_object_info(ref->new_sha1, NULL);