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

Re: git-diff-tree --root

From
Junio C Hamano <gitster@pobox.com>
Date
Sep 15, 2014, 17:04 UTC
Message-ID
<xmqqr3zc95o5.fsf@gitster.dls.corp.google.com>
In-Reply-To
<20140913085735.GA4075@isis.sigpipe.cz>
Roman Neuhauser <neuhauser@sigpipe.cz> writes:
> ... I like
> my scripts as simple as possible, so I'd like to use --root *always*.

With "--root", the command does not do anything different without for commits that are not root commits, and it shows "everything created from nothing" for root commits. The option was invented to help those who want that behaviour, so if you'd like to use it always, then you are welcome to do so ;-)

Previous: Roman Neuhauser
Message 4 of 4 in “git-diff-tree --root”
  1. Roman NeuhauserSep 12, 2014
  2. Junio C HamanoSep 12, 2014
  3. Roman NeuhauserSep 13, 2014
  4. Junio C HamanoSep 15, 2014

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.