Re: feature request - telling git bisect to skip, from inside a commit

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

 



Jeff King <peff@xxxxxxxx> writes:

> That could work, though I would spell it as a pseudo-header:
>
>   Bisect: Skip
>
> at the end of each commit.

I think that is a saner approach, and further say it would be much saner
to make that token something like

    Broken: does not build

A commit may or may not build, a build product may work in some areas just
fine and may have known bugs in some other areas, depending on what kind
of breakage you are interested in.  You might even be looking for a change
that fixed a bug for cherry picking.  In short, "Bisect: Skip" is too
broad a brush, and does not convey enough information.

And then teach the script you give to "bisect run" to grep for that
"^Broken: " pattern to answer with exit 125 (cannot test), and you are
done.

--
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]