From b094de73fc18f6e83d55f48bf6c341939a387099 Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Thu, 10 Jun 2021 20:29:31 +0200 Subject: [PATCH] +bin/git-bisect-status --- bin/git-bisect-status | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 bin/git-bisect-status diff --git a/bin/git-bisect-status b/bin/git-bisect-status new file mode 100644 index 0000000..57e6a62 --- /dev/null +++ b/bin/git-bisect-status @@ -0,0 +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 $_' -- 1.8.3.1