Thread (1 message) 1 message, 1 author, 2021-02-04

Re: What's cooking in git.git (Jan 2021, #06; Sat, 30)

From: Junio C Hamano <hidden>
Date: 2021-02-04 01:39:30

"Miriam R." [off-list ref] writes:
quoted
quoted
I think the bisect_log still haven't added back the:

      We are not bisecting

as addressing in gohp6kv9bml9qc.fsf@gmail.com
OK, I'll put it on hold and wait for a proper fix-up patch.
I have just sent the new patch series version with this and other minor fixes.
Best,
Miriam.
Thanks for a quick turnaround.  Queued and pushed out.

I think the change, especially to the first one, covers the above
comment sufficiently.

1:  7766d1f8a8 ! 1:  97d5ba6a39 bisect--helper: reimplement `bisect_log` shell function in C
    @@ Commit message
         Mentored-by: Lars Schneider [off-list ref]
         Mentored-by: Christian Couder [off-list ref]
         Mentored-by: Johannes Schindelin [off-list ref]
    +    Helped-by: Rafael Silva [off-list ref]
         Signed-off-by: Pranit Bauva [off-list ref]
         Signed-off-by: Tanushree Tumane [off-list ref]
         Signed-off-by: Miriam Rubio [off-list ref]
    @@ builtin/bisect--helper.c: static enum bisect_error bisect_state(struct bisect_te
     +static enum bisect_error bisect_log(void)
     +{
     +	int fd, status;
    -+	fd = open(git_path_bisect_log(), O_RDONLY);
    ++	const char* filename = git_path_bisect_log();
    ++
    ++	if (is_empty_or_missing_file(filename))
    ++		return error(_("We are not bisecting."));
    ++
    ++	fd = open(filename, O_RDONLY);
     +	if (fd < 0)
     +		return BISECT_FAILED;
     +
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help