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