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

Re: git-diff-tree for the first commit

From
Linus Torvalds <torvalds@osdl.org>
Date
May 19, 2005, 20:46 UTC
Message-ID
<Pine.LNX.4.58.0505191345260.2322@ppc970.osdl.org>
In-Reply-To
<Pine.LNX.4.58.0505191323060.2322@ppc970.osdl.org>
On Thu, 19 May 2005, Linus Torvalds wrote:
> 
> That said, a new flag that says "diff the root against the NUL tree" 
> wouldn't be wrong either, for when that is what you want.

Done. Use "git-diff-tree --root" if you want to see the root commit as a big diff against nothing.

		Linus
Previous: Thomas Glanzmann
Message 4 of 4 in “git-diff-tree for the first commit”
  1. Thomas GlanzmannMay 19, 2005
  2. Linus TorvaldsMay 19, 2005
  3. Thomas GlanzmannMay 19, 2005
  4. Linus TorvaldsMay 19, 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.