mirror of
https://github.com/git/git
synced 2024-09-13 21:34:42 +00:00
Merge branch 'jc/fmt-req-fix'
* jc/fmt-req-fix: userformat_find_requirements(): find requirement for the correct format
This commit is contained in:
commit
d98a20114d
2
pretty.c
2
pretty.c
|
@ -1084,7 +1084,7 @@ void userformat_find_requirements(const char *fmt, struct userformat_want *w)
|
||||||
return;
|
return;
|
||||||
fmt = user_format;
|
fmt = user_format;
|
||||||
}
|
}
|
||||||
strbuf_expand(&dummy, user_format, userformat_want_item, w);
|
strbuf_expand(&dummy, fmt, userformat_want_item, w);
|
||||||
strbuf_release(&dummy);
|
strbuf_release(&dummy);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue