[kwlug-disc] Advanced(?) Git usage question

Adam Glauser adamglauser at gmail.com
Wed Apr 9 16:41:29 EDT 2014

On Wed, Apr 9, 2014 at 3:44 PM, Adam Glauser <adamglauser at gmail.com> wrote:

> My specific questions:
> - is there a Git command that will tell me the revision closest to HEAD
> which has both A and B as ancestors? Kind of the opposite of `git
> merge-base`.
> - I'm trying `git bisect`, but this seems more useful if I'm not already
> sure which revisions are the source of the bug. Would you use `git bisect`
> in a situation like this?

For what it's worth, I ended up using bisect. I set A as "good", HEAD as
bad. I could use `git rev-list | grep 'A|B'` to determine if a particular
revision was bad or good by whether one or both revisions were included.

I'd still love to hear better solutions.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://kwlug.org/pipermail/kwlug-disc_kwlug.org/attachments/20140409/d8e05bcf/attachment.html>

More information about the kwlug-disc mailing list