+bin/git-bisect-status
[nethome.git] / bin / git-bisect-status
diff --git a/bin/git-bisect-status b/bin/git-bisect-status
new file mode 100644 (file)
index 0000000..57e6a62
--- /dev/null
@@ -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 $_'