Re: [PATCH 4/3] bisect: use a detached HEAD to bisect

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Junio C Hamano wrote:
Christian Couder <chriscool@xxxxxxxxxxxxx> writes:

When "git bisect" was first written, it was not possible to
checkout a detached HEAD. The detached feature appeared latter.
...
This patch makes "git bisect" checkout revisions to be tested on
a detached HEAD. This simplifies the code a bit.

Yay!!

One potential worry/downside is "bisect visualize".  Because <bisect>
branch was used for bisection, the _current_ commit has always been
indicated with a label.  HEAD would not get any special label in gitk,
would it?

Hrm.  This seems like a potential issue to me as I occasionally
do want to view where it is and possibly adjust it up or down a
few commits depending on context.

Perhaps a "git bisect addfoo" sort of command is needed?  The goal
would be to "add some form of {branch,label,tag}" so it could be named,
seen and possibly moved.

jdl

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux