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

Output from git diff-tree (documentation)

From
David Kågedal <davidk@lysator.liu.se>
Date
Jul 27, 2009, 19:54 UTC
Message-ID
<87hbwxaolw.fsf@krank.kagedal.org>

The "git diff-tree HEAD" command (with the default raw output) starts by printing a hash, which seems to be the hash for the commit (HEAD in this case).

I can't find any description of this in the documentation for diff-tree.

The "output format" sectionis the generic diff-format.txt that describes the format of the lines for the files that differ. Nothing wrong with that, but it doesn't explain the initial line of diff-tree.

The documentation of the --stdin flag mentions some initial output, but that is not relevant in this case.

-- 
David Kågedal
Next: Junio C Hamano
Message 1 of 8 in “Output from git diff-tree (documentation)”
  1. David KågedalJul 27, 2009
  2. Junio C HamanoJul 27, 2009
  3. Output from git diffDavid Kågedal, Jul 29, 2009
  4. Pat NotzJul 29, 2009
  5. Junio C HamanoJul 29, 2009
  6. Junio C HamanoJul 28, 2009
  7. David KågedalJul 29, 2009
  8. Junio C HamanoJul 30, 2009

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.