summaryrefslogtreecommitdiff
path: root/Documentation/git-bisect.txt
diff options
context:
space:
mode:
authorJon Seymour <jon.seymour@gmail.com>2011-08-09 12:11:54 +1000
committerJunio C Hamano <gitster@pobox.com>2011-08-09 10:26:18 -0700
commit24c512803dadf61b2f7f8965735b7c3a03f6147e (patch)
tree5b2169e0f60b9f6565b7e3c25c46b1d63931007a /Documentation/git-bisect.txt
parent43b8ff4b149bb3e17271608380b4a73c2e290b77 (diff)
downloadgit-24c512803dadf61b2f7f8965735b7c3a03f6147e.tar.gz
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>
Diffstat (limited to 'Documentation/git-bisect.txt')
-rw-r--r--Documentation/git-bisect.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/git-bisect.txt b/Documentation/git-bisect.txt
index 41e6ca832b..e4f46bc18d 100644
--- a/Documentation/git-bisect.txt
+++ b/Documentation/git-bisect.txt
@@ -273,6 +273,8 @@ it point to the commit that should be tested.
+
This option may be useful when the test you would perform in each step
does not require a checked out tree.
++
+If the repository is bare, `--no-checkout` is assumed.
EXAMPLES
--------