Skip to content

Finish converting git bisect to C part 1

Miriam Rubio git 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest12 patches 1 replyIn review
  2. v313 patches 4 repliesSuperseded
  3. v211 patches 15 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v129 patches24 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12bisect--helper: convert `vocab_*` char pointers to char arraysbuiltin/bisect--helper.c+2 -20 replies
2/12bisect--helper: change `retval` to `res`builtin/bisect--helper.c+26 -260 replies
3/12bisect: use the standard 'if (!var)' way to check for 0bisect.c+2 -20 replies
4/12bisect--helper: introduce new `decide_next()` functionbuiltin/bisect--helper.c+34 -320 replies
5/12bisect: add enum to represent bisect returning codesbisect.c bisect.h+14 -20 replies
6/12bisect--helper: return error codes from `cmd_bisect__helper()`builtin/bisect--helper.c+1 -10 replies
7/12bisect: libify `exit_if_skipped_commits` to `error_if_skipped*` and its dependentsbisect.c bisect.h+15 -70 replies
8/12bisect: libify `bisect_checkout`bisect.c+15 -40 replies
9/12bisect: libify `check_merge_bases` and its dependentsbisect.c bisect.h+24 -50 replies
10/12bisect: libify `check_good_are_ancestors_of_bad` and its dependentsbisect.c builtin/bisect--helper.c+37 -150 replies
11/12bisect: libify `handle_bad_merge_base` and its dependentsbisect.c bisect.h+6 -40 replies
12/12bisect: libify `bisect_next_all`bisect.c bisect.h+27 -120 replies

Reviews trailers per patch

None of the 12 patches has a Reviewed-by or Acked-by.

PatchChristian CouderJohannes Schindelin
1/12Mentored-by
2/12Mentored-by
3/12Mentored-by
4/12Mentored-by
5/12Mentored-by
6/12Mentored-by Mentored-by
7/12Mentored-by Mentored-by
8/12Mentored-by Mentored-by
9/12Mentored-by
10/12Mentored-by
11/12Mentored-by Mentored-by
12/12Mentored-by Mentored-by

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [Outreachy] [PATCH v4 00/12] Finish converting git bisect to C part 1

These patches correspond to a first part of patch series
of Outreachy project "Finish converting git bisect from shell to C" started by Pranit Bauva and Tanushree Tumane
(https://public-inbox.org/git/[email protected]) and continued by me.

This first part is formed of preparatory/clean-up patches and all bisect.c libification work.

I would like to thank René Scharfe and Taylor Blau for their suggestions.

These patch series emails were generated from:
https://gitlab.com/mirucam/git/commits/git-bisect-work-part1-v4

--- Changes since v3 Finish converting git bisect to C part 1 patch series ---

General changes
---------------

* Removed run-command: make exists_in_PATH() non-static patch of this part 1 patch series.

Miriam Rubio (3):
bisect--helper: convert vocab_* char pointers to char arrays
bisect: use the standard 'if (!var)' way to check for 0
bisect: add enum to represent bisect returning codes

Pranit Bauva (7):
bisect--helper: return error codes from cmd_bisect__helper()
bisect: libify exit_if_skipped_commits to error_if_skipped* and
its dependents
bisect: libify bisect_checkout
bisect: libify check_merge_bases and its dependents
bisect: libify check_good_are_ancestors_of_bad and its dependents
bisect: libify handle_bad_merge_base and its dependents
bisect: libify bisect_next_all

Tanushree Tumane (2):
bisect--helper: change retval to res
bisect--helper: introduce new decide_next() function

 bisect.c                 | 135 +++++++++++++++++++++++++++------------
 bisect.h                 |  29 ++++++++-
 builtin/bisect--helper.c | 123 +++++++++++++++++++----------------
 3 files changed, 189 insertions(+), 98 deletions(-)
Signature · 1 line
2.25.0