]> git.ipfire.org Git - thirdparty/git.git/commit - bisect.c
bisect: fix internal diff-tree config loading
authorJeff King <peff@peff.net>
Fri, 22 Feb 2019 06:21:33 +0000 (01:21 -0500)
committerJunio C Hamano <gitster@pobox.com>
Thu, 28 Feb 2019 22:31:37 +0000 (07:31 +0900)
commit40ae3d3eeae95f201d5532cb114266ad8f6d4130
treee51d8b6aecabe8827b689d44275a93b9fb5cd17c
parent2008f29093ba46e513ca2af7f14f3b75faa7a358
bisect: fix internal diff-tree config loading

When we run our internal diff-tree to show the bisected commit, we call
init_revisions(), then load config, then setup_revisions(). But that
order is wrong: we copy the configured defaults into the rev_info struct
during the init_revisions step, so our config load wasn't actually doing
anything.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
bisect.c