From: Clemens Buchacher Date: Sun, 19 Sep 2010 12:54:38 GMT Subject: Re: Find out on which branch a commit was originally made Message-ID: <20100919125438.GA4870@localhost> In-Reply-To: <1jp2d5s.1q4xl2w1f5ufljM%lists@haller-berlin.de> On Sun, Sep 19, 2010 at 11:45:25AM +0200, Stefan Haller wrote: > > Your command also shows M, which is not interesting at all in this > context. Ideally it should stop at the first command that's common to > topic and master. Is there an easy way to achieve that? head -1?