From: Jay Soffian Date: Tue, 08 Mar 2011 10:11:16 GMT Subject: Re: how to list commits on branch since last merge Message-ID: In-Reply-To: <4D75FB7B.70403@drmicha.warpmail.net> On Tue, Mar 8, 2011 at 4:48 AM, Michael J Gruber wrote: > You mean shorter than: > > git rev-list --merges -1 $(git merge-base foo bar) > > Or maybe I'm misunderstanding "contain". Going back to my original picture, I mean commit m: o---o---x---o---... foo \ \ o---o---m---o---... bar merge-base foo bar gives me x; to get m I then need to grep the output of rev-list --parents for x. j.