X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=pretty.c;h=b32f0369531c6f14799329890880600e714e6b4b;hb=6d5291be450594d453759650f466174f39953c4f;hp=e4ed14effe1aabdef50155b932a96e6648ff4707;hpb=a477abe9e4bdf1dd3627c20b69ed8b51f27c2f81;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 */