mbox series

[00/13] Turn git-bisect to be builtin

Message ID cover.1667667460.git.congdanhqx@gmail.com (mailing list archive)
Headers show
Series Turn git-bisect to be builtin | expand

Message

Đoàn Trần Công Danh Nov. 5, 2022, 5:07 p.m. UTC
This series finish the git-bisect porting from shell script into a C builtin.

This series can't be applied cleaned on master, it needs to be applied on top
of the series posted at:
https://lore.kernel.org/git/cover.1667667058.git.congdanhqx@gmail.com/
AND the series rs/no-more-run-command-v, which has been integrated to next.

There're two commits which were made by me, one of them is the reversal of the
other, which I don't really like it but it's there to restore old behaviour
until we justify the change of behaviours.

Johannes Schindelin (2):
  bisect--helper: make `state` optional
  Turn `git bisect` into a full built-in

Ævar Arnfjörð Bjarmason (6):
  bisect tests: test for v2.30.0 "bisect run" regressions
  bisect: refactor bisect_run() to match CodingGuidelines
  bisect: fix output regressions in v2.30.0
  bisect run: keep some of the post-v2.30.0 output
  bisect test: test exit codes on bad usage
  bisect--helper: emit usage for "git bisect"

Đoàn Trần Công Danh (5):
  bisect--helper: pass arg[cv] down to do_bisect_run
  bisect--helper: remove unused arguments from do_bisect_run
  bisect--helper: pretend we're real bisect when report error
  bisect--helper: remove subcommand state
  bisect--helper: log: allow arbitrary number of arguments

 Makefile                               |   3 +-
 builtin.h                              |   2 +-
 builtin/{bisect--helper.c => bisect.c} | 124 +++++++++++++++----------
 git-bisect.sh                          |   4 -
 git.c                                  |   2 +-
 t/t6030-bisect-porcelain.sh            | 109 ++++++++++++++++++++++
 6 files changed, 186 insertions(+), 58 deletions(-)
 rename builtin/{bisect--helper.c => bisect.c} (92%)