specifying one-side of a merge commit?
- From
Tay Ray Chuan <rctay89@gmail.com>
- Date
- Aug 12, 2010, 05:11 UTC
- Message-ID
- <AANLkTi=mnO8+XM4Bcjneaq+ngUSFesvZ_TYMRyy=f43a@mail.gmail.com>
Hi,
I wonder how do you guys do this?
So far, what I've come up with is this:
$ git rev-list $MERGE ^$MERGE^ | head -2 | tail -1
I'm sure there's a better way.
-- Cheers, Ray Chuan