Skip to content

pr-git-2335/HaraldNordgren/bisect-auto-reset-v1

tagged this 16 Jul 05:35
Add a --auto-reset option to git bisect start and git bisect run that
returns to the commit checked out before git bisect start as soon as the
first bad commit is reported, instead of leaving the session active until
git bisect reset is run by hand.

Harald Nordgren (3):
  bisect: read run output from the open descriptor
  bisect: let bisect_reset() optionally check out quietly
  bisect: add --auto-reset to leave when done

 Documentation/git-bisect.adoc | 12 +++++++--
 bisect.c                      |  2 ++
 builtin/bisect.c              | 51 ++++++++++++++++++++++-------------
 t/t6030-bisect-porcelain.sh   | 34 +++++++++++++++++++++++
 4 files changed, 78 insertions(+), 21 deletions(-)

base-commit: f60db8d575adb79761d363e026fb49bddf330c73

Submitted-As: https://lore.kernel.org/git/pull.2335.git.git.1784180159.gitgitgadget@gmail.com
Assets 2
Loading