Skip to content

Finish converting git bisect to C part 4

Miriam Rubio git 6 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v7 Latest6 patches 1 replyIn review
  2. v66 patches 10 repliesSuperseded
  3. v56 patches 3 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v46 patches13 repliesSuperseded
v34 patches6 repliesSuperseded
v24 patches6 repliesSuperseded

Patches in v7 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6t6030-bisect-porcelain: add tests to control bisect run exit casest/t6030-bisect-porcelain.sh+11 -00 replies
2/6t6030-bisect-porcelain: add test for bisect visualizet/t6030-bisect-porcelain.sh+7 -00 replies
3/6run-command: make `exists_in_PATH()` non-staticrun-command.c run-command.h+14 -20 replies
4/6bisect--helper: reimplement `bisect_visualize()` shell function in Cbuiltin/bisect--helper.c git-bisect.sh+48 -250 replies
5/6bisect--helper: reimplement `bisect_run` shell function in Cbuiltin/bisect--helper.c git-bisect.sh+106 -611 reply
6/6bisect--helper: retire `--bisect-next-check` subcommandbuiltin/bisect--helper.c+0 -70 replies

Reviews trailers per patch

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

PatchChristian CouderJohannes Schindelin
1/6
2/6
3/6
4/6Mentored-by Mentored-by
5/6Mentored-by
6/6

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

Read the v7 thread

Cover letter [PATCH v7 0/6] Finish converting git bisect to C part 4

These patches correspond to a fourth 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 fourth part is formed by reimplementations of some git bisect subcommands, addition of tests and removal of some temporary subcommands.

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

I would like to thank Junio Hamano and Johannes Schindelin for reviewing this patch series.

Specific changes
----------------

[1/6] t6030-bisect-porcelain: add tests to control bisect run exit cases
* Remove unnecessary redirections to /dev/null and my_bisect_log.txt
---

[2/6]t6030-bisect-porcelain: add test for bisect visualize
* Remove redirection and add double quotes to test's filename

---

[3/6]run-command: make exists_in_PATH() non-static
* Amend commit message.
* Change parameter name.
---

[4/6]bisect--helper: reimplement bisect_visualize() shell function in C
* Add brackets to an if expression.
---

[5/6] bisect--helper: reimplement bisect_run shell function in C
* Add two fflush(stdout) in dup2 dance.
* Rewrite if-else condition.

---

Miriam Rubio (3):
t6030-bisect-porcelain: add tests to control bisect run exit cases
t6030-bisect-porcelain: add test for bisect visualize
bisect--helper: retire --bisect-next-check subcommand

Pranit Bauva (2):
run-command: make exists_in_PATH() non-static
bisect--helper: reimplement bisect_visualize() shell function in C

Tanushree Tumane (1):
bisect--helper: reimplement bisect_run shell function in C

 builtin/bisect--helper.c    | 158 ++++++++++++++++++++++++++++++++++--
 git-bisect.sh               |  87 +-------------------
 run-command.c               |   4 +-
 run-command.h               |  12 +++
 t/t6030-bisect-porcelain.sh |  18 ++++
 5 files changed, 184 insertions(+), 95 deletions(-)
Signature · 1 line
2.29.2