Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Documentation: reworded the "Description" section of git-bisect.txt.
author
David J. Mellor
<dmellor@whistlingcat.com>
Thu, 19 Mar 2009 07:00:12 +0000
(
00:00
-0700)
committer
Junio C Hamano
<gitster@pobox.com>
Thu, 19 Mar 2009 08:38:35 +0000
(
01:38
-0700)
Added fixes missing from
2364259
.
Signed-off-by: David J. Mellor <dmellor@whistlingcat.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-bisect.txt
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
e5ac121
)
diff --git
a/Documentation/git-bisect.txt
b/Documentation/git-bisect.txt
index ef82bb85858f4b8bf53df873a21826ded5d1dfc6..9b4d9ce99c08b150ad63a75e5addb596b488bbc3 100644
(file)
--- a/
Documentation/git-bisect.txt
+++ b/
Documentation/git-bisect.txt
@@
-114,21
+114,22
@@
$ git bisect view --stat
Bisect log and bisect replay
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Bisect log and bisect replay
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
The good/bad input is logged, and
:
+
After having marked revisions as good or bad, then
:
------------
$ git bisect log
------------
------------
$ git bisect log
------------
-shows what you have done so far. You can truncate its output somewhere
-and save it in a file, and run:
+shows what you have done so far. If you discover that you made a mistake
+in specifying the status of a revision, you can save the output of this
+command to a file, edit it to remove the incorrect entries, and then issue
+the following commands to return to a corrected state:
------------
------------
+$ git bisect reset
$ git bisect replay that-file
------------
$ git bisect replay that-file
------------
-if you find later that you made a mistake specifying revisions as good/bad.
-
Avoiding testing a commit
~~~~~~~~~~~~~~~~~~~~~~~~~
Avoiding testing a commit
~~~~~~~~~~~~~~~~~~~~~~~~~
@@
-141,7
+142,7
@@
want to find a nearby commit and try that instead.
For example:
------------
For example:
------------
-$ git bisect good/bad # previous round was good
/
bad.
+$ git bisect good/bad # previous round was good
or
bad.
Bisecting: 337 revisions left to test after this
$ git bisect visualize # oops, that is uninteresting.
$ git reset --hard HEAD~3 # try 3 revisions before what
Bisecting: 337 revisions left to test after this
$ git bisect visualize # oops, that is uninteresting.
$ git reset --hard HEAD~3 # try 3 revisions before what
@@
-149,7
+150,7
@@
$ git reset --hard HEAD~3 # try 3 revisions before what
------------
Then compile and test the chosen revision. Afterwards the revision
------------
Then compile and test the chosen revision. Afterwards the revision
-is marked as good
/
bad in the usual manner.
+is marked as good
or
bad in the usual manner.
Bisect skip
~~~~~~~~~~~~
Bisect skip
~~~~~~~~~~~~
@@
-240,7
+241,7
@@
before compiling, run the real test, and afterwards decide if the
revision (possibly with the needed patch) passed the test and then
rewind the tree to the pristine state. Finally the script should exit
with the status of the real test to let the "git bisect run" command loop
revision (possibly with the needed patch) passed the test and then
rewind the tree to the pristine state. Finally the script should exit
with the status of the real test to let the "git bisect run" command loop
-
to
determine the eventual outcome of the bisect session.
+determine the eventual outcome of the bisect session.
EXAMPLES
--------
EXAMPLES
--------