Documentation: bisect: reformat some paragraphs.
Signed-off-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:

committed by
Junio C Hamano

parent
a4e9d71edb
commit
7891a2811d
@ -122,17 +122,17 @@ like this:
|
|||||||
$ git bisect start arch/i386 include/asm-i386
|
$ git bisect start arch/i386 include/asm-i386
|
||||||
------------
|
------------
|
||||||
|
|
||||||
If you have a script that can tell if the current
|
If you have a script that can tell if the current source code is good
|
||||||
source code is good or bad, you can automatically bisect using:
|
or bad, you can automatically bisect using:
|
||||||
|
|
||||||
------------
|
------------
|
||||||
$ git bisect run my_script
|
$ git bisect run my_script
|
||||||
------------
|
------------
|
||||||
|
|
||||||
Note that the "run" script (`my_script` in the above example)
|
Note that the "run" script (`my_script` in the above example) should
|
||||||
should exit with code 0 in
|
exit with code 0 in case the current source code is good and with a
|
||||||
case the current source code is good and with a code between 1 and 127
|
code between 1 and 127 (included) in case the current source code is
|
||||||
(included) in case the current source code is bad.
|
bad.
|
||||||
|
|
||||||
Any other exit code (a program that does "exit(-1)" leaves $? = 255,
|
Any other exit code (a program that does "exit(-1)" leaves $? = 255,
|
||||||
see exit(3) manual page, the value is chopped with "& 0377") will
|
see exit(3) manual page, the value is chopped with "& 0377") will
|
||||||
|
Reference in New Issue
Block a user