Re: finding the merge of two or more commits
- From
Avery Pennarun <apenwarr@gmail.com>
- Date
- Oct 29, 2009, 21:34 UTC
- Message-ID
- <32541b130910291434q1b068918x38c5aec543cb1c2a@mail.gmail.com>
- In-Reply-To
- <3a69fa7c0910291412l439f7f61vd3b55a77cd7e10b5@mail.gmail.com>
On Thu, Oct 29, 2009 at 5:12 PM, E R <pc88mxer@gmail.com> wrote:
> That is, I don't want to merge c1 and c2 myself, but I want to know if > someone else has merged c1 and c2, performed any conflict resolution > and committed the result.
Try this:
(git branch -a --contains c1; git branch -a --contains c2) | sort | uniq -d
It's not exactly pretty, but it works.
Have fun,
Avery