X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=pretty.c;h=f5983f8baa98b69338707b4220e64012ef4e5d11;hb=da8ba5e7da01be597aa9417c563dbd516ea5f204;hp=3b2ecdd20e6f5bdca61ee5e605deac7b8239c70d;hpb=dad1a454d5411a50dc8a51837cf859f40804b776;p=git.git diff --git a/pretty.c b/pretty.c index 3b2ecdd20..f5983f8ba 100644 --- a/pretty.c +++ b/pretty.c @@ -583,7 +583,7 @@ static void format_decoration(struct strbuf *sb, const struct commit *commit) struct name_decoration *d; const char *prefix = " ("; - load_ref_decorations(); + load_ref_decorations(DECORATE_SHORT_REFS); d = lookup_decoration(&name_decoration, &commit->object); while (d) { strbuf_addstr(sb, prefix);