From 887320dc69e5162de5d27f9f0b571f1f5746626e Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Thu, 10 Jun 2021 21:37:39 +0200 Subject: [PATCH] bin/git-bisect-status: Match it more GIT. --- bin/git-bisect-status | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/git-bisect-status b/bin/git-bisect-status index 57e6a62..c49167a 100755 --- a/bin/git-bisect-status +++ b/bin/git-bisect-status @@ -1,3 +1,3 @@ #! /bin/bash # https://stackoverflow.com/a/37668768/2995591 -git bisect visualize --oneline|wc -l|perl -MPOSIX -lne 'print "Bisecting: ".ceil($_/2)." revisions left to test after this (roughly ".ceil(log($_)/log(2))." steps)" if $_' +git bisect visualize --oneline|wc -l|perl -MPOSIX -lne 'print "Bisecting: ".floor(($_-1)/2)." revisions left to test after this (roughly ".(floor(log($_-1)/log(2))-1)." steps)" if $_' -- 1.8.3.1