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

Name/documentation on git-log --full-diff is insufficient

From
Phil Miller <mille121@illinois.edu>
Date
Nov 19, 2009, 23:26 UTC
Message-ID
<81f018ac0911191526o1cfa8e56r79f8db33256a4e9c@mail.gmail.com>

I've been trying for a few days to figure out how to see all the files touched in all the commits that changed a particular path. I just discovered that that 'git log --full-diff --stat path' gives me the complete list of files changed in the displayed commits, and not just the files matching path. Reading the documentation, I figured that it either only applied when running 'git log -p' or that it implied the '-p', neither of which was desirable.

Thus, I'd suggest a couple potential improvements:
1. Expand the manual text to clarify that --full-diff really means
'tell me about all of the files in the commits that I see' regardless
of what information (a list of files, a diffstat, or a full diff) is
being printed about those files
2. Add a synonym with a more general name. Something like --all-files
would be close to the mark, though there are probably other more
suitable names.
Phil
PS: I sent in a patch for git-cvsserver a week ago, and have seen no
response or action on it. Is there something I should have done
differently?
http://article.gmane.org/gmane.comp.version-control.git/132789
Next: Miklos Vajna
Message 1 of 3 in “Name/documentation on git-log --full-diff is insufficient”
  1. Phil MillerNov 19, 2009
  2. Miklos VajnaNov 20, 2009
  3. Tim HeniganNov 20, 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.