git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Previous: Petr Baudis
Message 2 of 2 in “Improve git-rev-list --header output”
  1. Improve git-rev-list --header outputPetr Baudis, Jun 5, 2005
  2. Linus TorvaldsJun 5, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.