Re: [PATCH] Improve git-rev-list --header output
- From
Linus Torvalds <torvalds@osdl.org>
- Date
- Jun 5, 2005, 15:17 UTC
- Message-ID
- <Pine.LNX.4.58.0506050815130.1876@ppc970.osdl.org>
- In-Reply-To
- <20050605132515.GB17462@pasky.ji.cz>
On Sun, 5 Jun 2005, Petr Baudis wrote:
> > Indent the commit header by four spaces like in the --pretty output; > the commit ID is still shown unaligned. This makes the --header output > actually usable for further processing.
I'm actually going to do a few different "header formats", and have pretty_print_commit() able to switch between them. IOW, this would count as just one form of pretty-printing.
I want to have the "dense" format, which has only the author and the top line(s) of the description (stop at the first empty line), and a "raw" format, which has all the parent information etc (ie this one).
Linus