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

Re: confusion with git diff-tree output

From
Jeff King <peff@peff.net>
Date
Oct 24, 2009, 09:51 UTC
Message-ID
<20091024095156.GA9865@sigio.peff.net>
In-Reply-To
<7vvdi58fhw.fsf@alter.siamese.dyndns.org>
On Fri, Oct 23, 2009 at 11:36:59PM -0700, Junio C Hamano wrote:
Show 11 quoted lines
> >> 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?
Yes, that's right (and yes, I just checked it to be double sure).
-Peff
Previous: Junio C Hamano
Message 7 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.