Re: mr/bisect-in-c-4, was Re: What's cooking in git.git (Sep 2021, #02; Wed, 8)

2 messages, 2 authors, 2021-09-10 · open the first message on its own page

Re: mr/bisect-in-c-4, was Re: What's cooking in git.git (Sep 2021, #02; Wed, 8)

From: Junio C Hamano <hidden>
Date: 2021-09-10 05:07:35

Johannes Schindelin [off-list ref] writes:
On Wed, 8 Sep 2021, Junio C Hamano wrote:
quoted
* mr/bisect-in-c-4 (2021-09-02) 6 commits
 - bisect--helper: retire `--bisect-next-check` subcommand
 - bisect--helper: reimplement `bisect_run` shell
 - bisect--helper: reimplement `bisect_visualize()`shell function in C
 - run-command: make `exists_in_PATH()` non-static
 - t6030-bisect-porcelain: add test for bisect visualize
 - t6030-bisect-porcelain: add tests to control bisect run exit cases

 Rewrite of "git bisect" in C continues.
From my point of view, this is ready for `next`.
You agreed that redirection with dup2()'s in [5/6] was good enough
for now [*1*], but in that case, we need to add a few fflush(stdout)
around the dup2() dance [*2*].

So this is not quite ready for 'next' yet, although it is almost
there, I'd think.


[References]

*1* https://lore.kernel.org/git/nycvar.QRO.7.76.6.2109090922310.55@tvgsbejvaqbjf.bet/

*2* https://lore.kernel.org/git/xmqqtuj2h7cp.fsf@gitster.g/

Re: mr/bisect-in-c-4, was Re: What's cooking in git.git (Sep 2021, #02; Wed, 8)

From: Johannes Schindelin <hidden>
Date: 2021-09-10 09:33:20

Hi Junio,

On Thu, 9 Sep 2021, Junio C Hamano wrote:
Johannes Schindelin [off-list ref] writes:
quoted
On Wed, 8 Sep 2021, Junio C Hamano wrote:
quoted
* mr/bisect-in-c-4 (2021-09-02) 6 commits
 - bisect--helper: retire `--bisect-next-check` subcommand
 - bisect--helper: reimplement `bisect_run` shell
 - bisect--helper: reimplement `bisect_visualize()`shell function in C
 - run-command: make `exists_in_PATH()` non-static
 - t6030-bisect-porcelain: add test for bisect visualize
 - t6030-bisect-porcelain: add tests to control bisect run exit cases

 Rewrite of "git bisect" in C continues.
From my point of view, this is ready for `next`.
You agreed that redirection with dup2()'s in [5/6] was good enough
for now [*1*], but in that case, we need to add a few fflush(stdout)
around the dup2() dance [*2*].

So this is not quite ready for 'next' yet, although it is almost
there, I'd think.
Oh right, I fogot about the `fflush()` stuff.

Thanks,
Dscho

[References]

*1* https://lore.kernel.org/git/nycvar.QRO.7.76.6.2109090922310.55@tvgsbejvaqbjf.bet/

*2* https://lore.kernel.org/git/xmqqtuj2h7cp.fsf@gitster.g/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help