mirror of
https://github.com/git/git.git
synced 2025-03-20 00:28:49 +00:00
Merge branch 'jc/fmt-req-fix' into maint
* jc/fmt-req-fix: userformat_find_requirements(): find requirement for the correct format
This commit is contained in:
commit
6e1a7510b1
2
pretty.c
2
pretty.c
@ -1075,7 +1075,7 @@ void userformat_find_requirements(const char *fmt, struct userformat_want *w)
|
||||
return;
|
||||
fmt = user_format;
|
||||
}
|
||||
strbuf_expand(&dummy, user_format, userformat_want_item, w);
|
||||
strbuf_expand(&dummy, fmt, userformat_want_item, w);
|
||||
strbuf_release(&dummy);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user