diff options
author | Christian Couder <chriscool@tuxfamily.org> | 2007-04-04 07:12:02 +0200 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-04-05 15:13:14 -0700 |
commit | 38a47fd6e316030ba1e72ea447243cb47adf2505 (patch) | |
tree | 365abc710b3f7ad43bc2cb70c590a500eeeb85e0 /gitk | |
parent | 33580fbd308593e36395926fd35b501976ad322a (diff) | |
download | git-38a47fd6e316030ba1e72ea447243cb47adf2505.tar.gz git-38a47fd6e316030ba1e72ea447243cb47adf2505.tar.xz |
Bisect: teach "bisect start" to optionally use one bad and many good revs.
One bad commit is fundamentally needed for bisect to run,
and if we beforehand know more good commits, we can narrow
the bisect space down without doing the whole tree checkout
every time we give good commits.
This patch implements:
git bisect start [<bad> [<good>...]] [--] [<pathspec>...]
as a short-hand for this command sequence:
git bisect start
git bisect bad $bad
git bisect good $good1 $good2...
On the other hand, there may be some confusion between revs
(<bad> and <good>...) and <pathspec>... if -- is not used
and if an invalid rev or a pathspec that looks like a rev is
given.
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'gitk')
0 files changed, 0 insertions, 0 deletions