Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH v2] Bisect reset: remove bisect refs that may have been packed.

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:43:51

Junio C Hamano [off-list ref] writes:
Christian Couder [off-list ref] writes:
quoted
If refs were ever packed in the middle of bisection, the bisect
refs were not removed from the "packed-refs" file.

This patch fixes this problem by using "git update-ref -d $ref $hash"
in "bisect_clean_state".

Signed-off-by: Christian Couder <redacted>
Thanks.  Just a few nits.

On top of your patch...

 - You forgot to remove one "removal of filesystem refs";
Ooops.  'test -d "$GIT_DIR/refs/bisect"' is used as a signal
that we are bisecting for the rest of the code, so we cannot
lose that rm -fr there.

I think a longer term clean-up would be not to treat "bisect" as
a reserved branch name but use detached HEAD while bisecting.
But that is a larger topic.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help