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

Re: confusion with git diff-tree output

From
Junio C Hamano <gitster@pobox.com>
Date
Oct 24, 2009, 06:36 UTC
Message-ID
<7vvdi58fhw.fsf@alter.siamese.dyndns.org>
In-Reply-To
<20091023005426.GA2431@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 10 quoted lines
> On Wed, Oct 21, 2009 at 06:23:08PM -0400, David Roundy wrote:
>
>> You're right.  I figured I must be overlooking something obvious, and
>> that was it.  What surprised me was that -p implies -r, which is not
>> documented.  Since the -p output was recursive, I incorrectly presumed
>> that this was the default.
>
> It's due to hysterical raisins:
>
>   http://article.gmane.org/gmane.comp.version-control.git/54078

Just to make sure, the Porcelain "diff" does recurse even with --raw and "diff-tree" doesn't for historical reasons, right?

Previous: Jeff KingNext: Jeff King
Message 6 of 7 in “confusion with git diff-tree output”
  1. David RoundyOct 21, 2009
  2. Jan KrügerOct 21, 2009
  3. David RoundyOct 21, 2009
  4. Jan KrügerOct 21, 2009
  5. Jeff KingOct 23, 2009
  6. Junio C HamanoOct 24, 2009
  7. Jeff KingOct 24, 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.