This extension to js/bisect-no-checkout (currently in pu) adds support for bisecting bare repositories.
It does this by relaxing the requirement that git bisect is invoked in a repository with a working tree and by
defaulting to --no-checkout in the case of a bare repository.
Two tests are included to demonstrate this behaviour.
Revisions
=========
v2:
Squashed documentation patch into code change patch.
Simplified test, per Jonathan Nieder.
v1:
Initial release.
Jon Seymour (2):
bisect: relax requirement for a working tree.
bisect: add tests for bisection on bare repositories
Documentation/git-bisect.txt | 2 ++
git-bisect.sh | 8 ++++++--
git.c | 2 +-
t/t6030-bisect-porcelain.sh | 31 +++++++++++++++++++++++++++++++
4 files changed, 40 insertions(+), 3 deletions(-)
--
1.7.6.522.g810f.dirty