]> git.ipfire.org Git - thirdparty/git.git/commit - bisect.c
bisect: introduce first-parent flag
authorAaron Lipman <alipman88@gmail.com>
Fri, 7 Aug 2020 21:58:37 +0000 (17:58 -0400)
committerJunio C Hamano <gitster@pobox.com>
Fri, 7 Aug 2020 22:13:03 +0000 (15:13 -0700)
commite8861ffc203fe5ea3da97210e60b2e886002f218
tree727cc7692a4e80c85631cfc3f997fa83cdf22a0a
parentbe5fe2000df5c1110d8086e4704e1a90a64f7387
bisect: introduce first-parent flag

Upon seeing a merge commit when bisecting, this option may be used to
follow only the first parent.

In detecting regressions introduced through the merging of a branch, the
merge commit will be identified as introduction of the bug and its
ancestors will be ignored.

This option is particularly useful in avoiding false positives when a
merged branch contained broken or non-buildable commits, but the merge
itself was OK.

Signed-off-by: Aaron Lipman <alipman88@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-bisect.txt
bisect.c
builtin/bisect--helper.c
t/t6030-bisect-porcelain.sh