Code

bisect: add support for bisecting bare repositories
authorJon Seymour <jon.seymour@gmail.com>
Tue, 9 Aug 2011 02:11:54 +0000 (12:11 +1000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 9 Aug 2011 17:26:18 +0000 (10:26 -0700)
commit24c512803dadf61b2f7f8965735b7c3a03f6147e
tree5b2169e0f60b9f6565b7e3c25c46b1d63931007a
parent43b8ff4b149bb3e17271608380b4a73c2e290b77
bisect: add support for bisecting bare repositories

This enhances the support for bisecting history in bare repositories.

The "git bisect" command no longer needs to be run inside a repository
with a working tree; it defaults to --no-checkout when run in a bare
repository.

Two tests are included to demonstrate this behaviour.

Suggested-by: Junio C Hamano <gitster@pobox.com>
Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Jon Seymour <jon.seymour@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-bisect.txt
git-bisect.sh
git.c
t/t6030-bisect-porcelain.sh