Re: Find a topic branch containing a commit

2016-07-28 Thread Junio C Hamano
Michael Haggerty writes: > On 07/27/2016 08:03 PM, Duy Nguyen wrote: >>> >>> https://github.com/mhagger/git-when-merged ? >> >> Beautiful. If it had an option to show a topic (i.e. git-log from >> merge base to merge point) I would be ecstatic. > > That's a good idea. I

Re: Find a topic branch containing a commit

2016-07-28 Thread Michael Haggerty
On 07/27/2016 08:03 PM, Duy Nguyen wrote: > On Wed, Jul 27, 2016 at 7:50 PM, Stefan Beller wrote: >> On Wed, Jul 27, 2016 at 10:42 AM, Duy Nguyen wrote: >>> Before I start doing anything silly because I don't know it can >>> already be done without waving

Re: Find a topic branch containing a commit

2016-07-27 Thread Duy Nguyen
On Wed, Jul 27, 2016 at 7:50 PM, Stefan Beller wrote: > On Wed, Jul 27, 2016 at 10:42 AM, Duy Nguyen wrote: >> Before I start doing anything silly because I don't know it can >> already be done without waving my C wand like a mad man... >> >> I often do

Re: Find a topic branch containing a commit

2016-07-27 Thread Duy Nguyen
On Wed, Jul 27, 2016 at 8:02 PM, Stefan Beller wrote: > On Wed, Jul 27, 2016 at 10:50 AM, Stefan Beller wrote: >>> >>> PS. Sometimes I wish we could optionally save cover letter in the >>> merge commit. Sometimes the "big plan" is hard to see by reading

Re: Find a topic branch containing a commit

2016-07-27 Thread Stefan Beller
On Wed, Jul 27, 2016 at 10:50 AM, Stefan Beller wrote: >> >> PS. Sometimes I wish we could optionally save cover letter in the >> merge commit. Sometimes the "big plan" is hard to see by reading >> individual commit messages. >> -- I had this wish, too. That makes a lot of

Re: Find a topic branch containing a commit

2016-07-27 Thread Stefan Beller
On Wed, Jul 27, 2016 at 10:42 AM, Duy Nguyen wrote: > Before I start doing anything silly because I don't know it can > already be done without waving my C wand like a mad man... > > I often do this: find a commit of interest, the commit itself is not > enough so I need a full

Find a topic branch containing a commit

2016-07-27 Thread Duy Nguyen
Before I start doing anything silly because I don't know it can already be done without waving my C wand like a mad man... I often do this: find a commit of interest, the commit itself is not enough so I need a full patch series to figure out what's going, so I fire up "git log --graph --oneline"