Re: [PATCH 1/4] Add history graph API
- From
Adam Simpkins <adam@adamsimpkins.net>
- Date
- Apr 6, 2008, 22:47 UTC
- Message-ID
- <20080406224724.GC5822@adamsimpkins.net>
- In-Reply-To
- <alpine.DEB.1.00.0804062135290.12583@eeepc-johanness>
On Sun, Apr 06, 2008 at 09:42:20PM +0100, Johannes Schindelin wrote:
Show 9 quoted lines
> Hi, > > On Sun, 6 Apr 2008, Adam Simpkins wrote: > > > I do like the fact that git-forest prints the names of the refs that > > point to each commit. For the graphing API, we could perhaps add a "%r" > > specifier to --pretty=format to print the refs pointing to the commit. > > Would "--decorate" help?
Yes, it does. Unfortunately, it doesn't have any effect with --pretty=format.
Actually, going back and testing this, it looks like I have a bug when handling --graph together with --pretty=format. There's a missing newline after the user's format message and the next graph line. I'll try to fix this and submit a patch later this evening.
-- Adam Simpkins adam@adamsimpkins.net