From: Junio C Hamano Date: Fri, 23 Mar 2007 07:40:54 +0000 (-0700) Subject: rev-list --bisect: Fix "halfway" optimization. X-Git-Tag: v1.5.2-rc0~94^2~1 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/2a4646904a3766abeca7741f15a481d79e97e9e7?ds=inline;hp=2a4646904a3766abeca7741f15a481d79e97e9e7 rev-list --bisect: Fix "halfway" optimization. If you have 5 commits in the set, commits that reach 2 or 3 commits are at halfway. If you have 6 commits, only commits that reach exactly 3 commits are at halfway. The earlier one is completely botched the math. Signed-off-by: Junio C Hamano ---