X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=pretty.c;h=b32f0369531c6f14799329890880600e714e6b4b;hb=1f4485b2194f662d82968bd6110fa63153df5298;hp=e4ed14effe1aabdef50155b932a96e6648ff4707;hpb=8ce8a63b46298501c9afebfea28ed3339a9104b7;p=thirdparty%2Fgit.git diff --git a/pretty.c b/pretty.c index e4ed14effe..b32f036953 100644 --- a/pretty.c +++ b/pretty.c @@ -1239,11 +1239,9 @@ static size_t format_commit_one(struct strbuf *sb, /* in UTF-8 */ strbuf_addstr(sb, get_revision_mark(NULL, commit)); return 1; case 'd': - load_ref_decorations(NULL, DECORATE_SHORT_REFS); format_decorations(sb, commit, c->auto_color); return 1; case 'D': - load_ref_decorations(NULL, DECORATE_SHORT_REFS); format_decorations_extended(sb, commit, c->auto_color, "", ", ", ""); return 1; case 'S': /* tag/branch like --source */