]> git.ipfire.org Git - thirdparty/git.git/commit - builtin/rev-list.c
git-rev-list: add --bisect-vars option.
authorJunio C Hamano <junkio@cox.net>
Thu, 22 Mar 2007 05:15:54 +0000 (22:15 -0700)
committerJunio C Hamano <junkio@cox.net>
Thu, 22 Mar 2007 08:32:31 +0000 (01:32 -0700)
commit457f08a030c8542b90172d24de4b8d11c4dae80f
treeff1c6da3f820a10f61d177ba327a3abac040192f
parent7054b6089d413f3d466491f1e6e8f565f4aff031
git-rev-list: add --bisect-vars option.

This adds --bisect-vars option to rev-list.  The output is suitable
for `eval` in shell and defines five variables:

 - bisect_rev is the next revision to test.
 - bisect_nr is the expected number of commits to test after
   bisect_rev is tested.
 - bisect_good is the expected number of commits to test
   if bisect_rev turns out to be good.
 - bisect_bad is the expected number of commits to test
   if bisect_rev turns out to be bad.
 - bisect_all is the number of commits we are bisecting right now.

The documentation text was partly stolen from Johannes
Schindelin's patch.

Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/git-rev-list.txt
builtin-rev-list.c