Merge branch 'jc/fmt-req-fix'
* jc/fmt-req-fix: userformat_find_requirements(): find requirement for the correct format
This commit is contained in:
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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user