Re: Show containing branches in log?

2014-08-25 Thread Robert Dailey
On Thu, Jul 3, 2014 at 2:41 PM, Øyvind A. Holm wrote: > On 2 July 2014 16:50, Robert Dailey wrote: >> I know that with the `git branch` command I can determine which >> branches contain a commit. Is there a way to represent this >> graphically with `git log`? Sometimes I just have a commit, and I

Re: Show containing branches in log?

2014-08-01 Thread Robert Dailey
On Thu, Jul 3, 2014 at 2:41 PM, Øyvind A. Holm wrote: > I have created a script for just this functionality which I use very > often, and have created a gist with the files at > , I think it > should solve your problem. It contains these files

Re: Show containing branches in log?

2014-07-03 Thread Øyvind A . Holm
On 2 July 2014 16:50, Robert Dailey wrote: > I know that with the `git branch` command I can determine which > branches contain a commit. Is there a way to represent this > graphically with `git log`? Sometimes I just have a commit, and I need > to find out what branch contains that commit. The re

Re: Show containing branches in log?

2014-07-03 Thread Jeff King
On Thu, Jul 03, 2014 at 03:18:42PM +0100, Peter Krefting wrote: > Robert Dailey: > > >Is there a way to graphically see what is the "nearest" named ref to the > >specified commit in the logs? > > git log --graph --decorate commit.. > > will display all the commits that happened after the commit

Re: Show containing branches in log?

2014-07-03 Thread Peter Krefting
Robert Dailey: Is there a way to graphically see what is the "nearest" named ref to the specified commit in the logs? git log --graph --decorate commit.. will display all the commits that happened after the commit "commit", with the branch names indicated, with lines indicating the ancestry.

Re: Show containing branches in log?

2014-07-02 Thread Robert Dailey
On Wed, Jul 2, 2014 at 11:52 AM, Jason Pyeron wrote: >> -Original Message- >> From: Jeff King >> Sent: Wednesday, July 02, 2014 12:35 >> >> On Wed, Jul 02, 2014 at 09:50:57AM -0500, Robert Dailey wrote: >> >> > I know that with the `git branch` command I can determine which >> > branches c

RE: Show containing branches in log?

2014-07-02 Thread Jason Pyeron
> -Original Message- > From: Jeff King > Sent: Wednesday, July 02, 2014 12:35 > > On Wed, Jul 02, 2014 at 09:50:57AM -0500, Robert Dailey wrote: > > > I know that with the `git branch` command I can determine which > > branches contain a commit. Is there a way to represent this > > graphi

Re: Show containing branches in log?

2014-07-02 Thread Robert Dailey
On Wed, Jul 2, 2014 at 11:34 AM, Jeff King wrote: > Have you tried "git describe --contains --all "? > > To some degree, I fear your question isn't something git can answer. If > the branch containing the commit has been merged into other branches, > then they all "contain" the commit. There is no

Re: Show containing branches in log?

2014-07-02 Thread Jeff King
On Wed, Jul 02, 2014 at 09:50:57AM -0500, Robert Dailey wrote: > I know that with the `git branch` command I can determine which > branches contain a commit. Is there a way to represent this > graphically with `git log`? Sometimes I just have a commit, and I need > to find out what branch contains

Show containing branches in log?

2014-07-02 Thread Robert Dailey
I know that with the `git branch` command I can determine which branches contain a commit. Is there a way to represent this graphically with `git log`? Sometimes I just have a commit, and I need to find out what branch contains that commit. The reason why `git branch --contains` doesn't solve this