зеркало из https://github.com/microsoft/git.git
rev-list: fix segfault with --{author,committer,grep}
We need to save the commit buffer if we're going to match against it. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
Родитель
bd95fcd345
Коммит
f69895fb0c
|
@ -269,7 +269,9 @@ int cmd_rev_list(int argc, const char **argv, const char *prefix)
|
|||
revs.diff)
|
||||
usage(rev_list_usage);
|
||||
|
||||
save_commit_buffer = revs.verbose_header;
|
||||
save_commit_buffer = revs.verbose_header ||
|
||||
revs.header_filter ||
|
||||
revs.message_filter;
|
||||
track_object_refs = 0;
|
||||
if (bisect_list)
|
||||
revs.limited = 1;
|
||||
|
|
Загрузка…
Ссылка в новой задаче