Skip to content

Commit fac9ab1

Browse files
committed
Merge branch 'ma/bisect-doc-sample-update'
"git merge --no-commit" needs "--no-ff" if you do not want to move HEAD, which has been corrected in the manual page for "git bisect". * ma/bisect-doc-sample-update: Documentation/git-bisect.txt: add --no-ff to merge command
2 parents a2b0451 + 8dd327b commit fac9ab1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/git-bisect.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ $ cat ~/test.sh
413413

414414
# tweak the working tree by merging the hot-fix branch
415415
# and then attempt a build
416-
if git merge --no-commit hot-fix &&
416+
if git merge --no-commit --no-ff hot-fix &&
417417
make
418418
then
419419
# run project specific test and report its status

0 commit comments

Comments
 (0)