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

Re: git log --stat FILE

From
LHLars Hjemli <hjemli@gmail.com>
Date
Aug 8, 2010, 11:54 UTC
Message-ID
<AANLkTikKwp9gS9nt=JnsdyXMgx+PxrhHhNFftYFqX+M_@mail.gmail.com>
In-Reply-To
<yf9wrs1fili.fsf@chiyo.mc.pp.se>
On Sun, Aug 8, 2010 at 13:29, Marcus Comstedt <marcus@mc.pp.se> wrote:
Show 5 quoted lines
> When I do "git log --stat FILE", then only commits which touch FILE
> are displayed, as expected.  However, contrary to expectation (well,
> my expectation at least), the stat shows that only one file (FILE) is
> modified by the commits, even if they actually modified multiple files.
> That's not what I wanted;
Try adding --full-diff to your `git log` incantation.

-- larsh

Previous: Jakub NarebskiNext: Marcus Comstedt
Message 3 of 11 in “git log --stat FILE”
  1. Marcus ComstedtAug 8, 2010
  2. Jakub NarebskiAug 8, 2010
  3. Lars HjemliAug 8, 2010
  4. Marcus ComstedtAug 8, 2010
  5. Jakub NarebskiAug 8, 2010
  6. Marcus ComstedtAug 8, 2010
  7. Jakub NarebskiAug 8, 2010
  8. Marcus ComstedtAug 8, 2010
  9. Documentation/git-log: Clarify --full-diffMichael J Gruber, Aug 8, 2010
  10. Matthieu MoyAug 9, 2010
  11. Junio C HamanoAug 9, 2010

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.