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

Re: [PATCH] Tweak git-diff-tree -v output further.

From
Linus Torvalds <torvalds@osdl.org>
Date
May 6, 2005, 21:54 UTC
Message-ID
<Pine.LNX.4.58.0505061451530.2233@ppc970.osdl.org>
In-Reply-To
<7vd5s4cfzq.fsf@assigned-by-dhcp.cox.net>
On Fri, 6 May 2005, Junio C Hamano wrote:
> 
> This adds the full header information to git-diff-tree -v output
> in addition to the log message it already produces.

I don't actually like the git internal commit format, it's not very readable. It's designed to be nicely readable by machines, not humans.

If you want machine-readable output, you shouldn't use "-v" (or probably -p either) anyway, you'd be better off with the raw file changes.

> Maybe we want to stop indenting so that it matches what
> git-export produces better.

Again, it's indented so that it's human-readable, and I was planning on adding _some_ human-readable output from the headers (author and a human-readable date or something).

		Linus
Previous: Junio C Hamano
Message 2 of 2 in “Tweak git-diff-tree -v output further.”
  1. Tweak git-diff-tree -v output further.Junio C Hamano, May 6, 2005
  2. Linus TorvaldsMay 6, 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.