]> git.ipfire.org Git - thirdparty/git.git/blobdiff - pretty.c
Fix some printf format warnings
[thirdparty/git.git] / pretty.c
index 3b2ecdd20e6f5bdca61ee5e605deac7b8239c70d..f5983f8baa98b69338707b4220e64012ef4e5d11 100644 (file)
--- 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);