Skip to content

Commit d98a201

Browse files
committed
Merge branch 'jc/fmt-req-fix'
* jc/fmt-req-fix: userformat_find_requirements(): find requirement for the correct format
2 parents 1f9a980 + a6253d1 commit d98a201

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
@@ -1084,7 +1084,7 @@ void userformat_find_requirements(const char *fmt, struct userformat_want *w)
10841084
return;
10851085
fmt = user_format;
10861086
}
1087-
strbuf_expand(&dummy, user_format, userformat_want_item, w);
1087+
strbuf_expand(&dummy, fmt, userformat_want_item, w);
10881088
strbuf_release(&dummy);
10891089
}
10901090

0 commit comments

Comments
 (0)