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

Re: confusion with git diff-tree output

From
Jan Krüger <jk@jk.gs>
Date
Oct 21, 2009, 22:42 UTC
Message-ID
<20091022004220.7e579547@perceptron>
In-Reply-To
<117f2cc80910211523m5c1399aej594398fb6597e5de@mail.gmail.com>
> David Roundy <roundyd@physics.oregonstate.edu> 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.

I suppose that's because you can't really display the diff for a directory in any meaningful way other than recursing.

Jan
Previous: David RoundyNext: Jeff King
Message 4 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.