Skip to content

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

tagged this 17 Jul 18:27
Add a --auto-reset option to git bisect that resets the bisect session when
culprit is found.

Changes in v2:

 * Add option --auto-reset[=<where>] with option to go to final commit as
   well as original.
 * Refactored tests.

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 |  14 +++-
 bisect.c                      |   2 +
 builtin/bisect.c              | 132 +++++++++++++++++++++++++++++-----
 t/t6030-bisect-porcelain.sh   | 107 +++++++++++++++++++++++++++
 4 files changed, 234 insertions(+), 21 deletions(-)

base-commit: 44de1520f08d1dfebc3ab2d9f644208eaa5ac925

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