Skip to content

Commit 6e1a751

Browse files
committed
Merge branch 'jc/fmt-req-fix' into maint
* jc/fmt-req-fix: userformat_find_requirements(): find requirement for the correct format
2 parents 2dd7984 + a6253d1 commit 6e1a751

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pretty.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1075,7 +1075,7 @@ void userformat_find_requirements(const char *fmt, struct userformat_want *w)
10751075
return;
10761076
fmt = user_format;
10771077
}
1078-
strbuf_expand(&dummy, user_format, userformat_want_item, w);
1078+
strbuf_expand(&dummy, fmt, userformat_want_item, w);
10791079
strbuf_release(&dummy);
10801080
}
10811081

0 commit comments

Comments
 (0)