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

Re: [BUG] git-diff-tree or git-commit: wrong diff(stat)

From
MLMatthias Lederhofer <matled@gmx.net>
Date
Mar 5, 2007, 22:08 UTC
Message-ID
<20070305220814.GA17302@moooo.ath.cx>
In-Reply-To
<7v3b4jzbha.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano <junkio@cox.net> wrote:
> A cd_to_toplevel before that diff-tree should fix that,
> shouldn't it?

That should fix this problem. But anyway I think it is strange that `git diff` and `git diff --` differ in subdirectories (the latter shows only changes for the current directory).

Previous: Junio C Hamano
Message 3 of 3 in “[BUG] git-diff-tree or git-commit: wrong diff(stat)”
  1. Matthias LederhoferMar 5, 2007
  2. Junio C HamanoMar 5, 2007
  3. Matthias LederhoferMar 5, 2007

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.