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

git diff with add/modified codes

From
Jon Smirl <jonsmirl@gmail.com>
Date
Jul 27, 2007, 22:05 UTC
Message-ID
<9e4733910707271505x4eac928axe639308afed20cb3@mail.gmail.com>

Is there a magic git diff incantation that will add file status codes (Added (A), Copied (C), Deleted (D), Modified (M), Renamed (R)) to the --stat output? I can't see how to get this info on any diff output without doing multiple diffs with --diff-filter.

-- 
Jon Smirl
jonsmirl@gmail.com
Next: Junio C Hamano
Message 1 of 9 in “git diff with add/modified codes”
  1. Jon SmirlJul 27, 2007
  2. Junio C HamanoJul 27, 2007
  3. Jon SmirlJul 28, 2007
  4. Jeff KingJul 28, 2007
  5. Jakub NarebskiJul 28, 2007
  6. Jon SmirlJul 28, 2007
  7. Jakub NarebskiJul 29, 2007
  8. Johannes SchindelinJul 28, 2007
  9. Jon SmirlJul 28, 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.