On Mon, May 02, 2016 at 03:25:25PM -0700, Andres Freund wrote:
> Hi,
> 
> On 2016-05-02 15:17:54 -0700, Greg KH wrote:
> > On Mon, Apr 18, 2016 at 07:25:22AM -0700, Andres Freund wrote:
> > > Hi,
> > > 
> > > Perhaps the patch quoted below should also go into stable? It'd be nice
> > > to fix that regression for 4.4 and 4.5.  It's been integrated into 4.6
> > > (909890355).
> > 
> > How is it a regression in 4.4, as the commit involved didn't show up
> > until 4.5?
> > 
> > confused,
> 
> Sorry for that, I'd used git describe on the commit to determine which
> branch it was contained in (outputting v4.3-1188-g4b3a321). That
> obviously doesn't make sense though, as that just returns the state of
> the tree at which 4b3a3212233a was introduced, not the commit it was
> merged into mainline.

I have an alias in my .gitconfig:
[alias]
        dc = describe --contains

which is what you need here:
        $ git dc 4b3a3212233a
        v4.5-rc1~171^2~43^2~3

hope this helps,

greg k-h

Reply via email to