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

git diff flags

From
Eli Barzilay <eli@barzilay.org>
Date
May 7, 2010, 19:41 UTC
Message-ID
<19428.27908.870639.422432@winooski.ccs.neu.edu>
There's something strange with how `git diff' parses its flags:
  git diff --some-bogus-flag
  --> complains as expected
  git diff --follow
  --> works but there's no mention of this in the man page, and it
      doesn't look like it's doing anything
  git diff -C -M
  --> works as expected too
  git diff -CM
  --> doesn't say anything (but it does exit with an error code)
  git diff -CM --I-can-write-anything here!
  --> does the same
-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                    http://barzilay.org/                   Maze is Life!
Next: Jeff King
Message 1 of 3 in “git diff flags”
  1. Eli BarzilayMay 7, 2010
  2. Jeff KingMay 8, 2010
  3. Jeff KingMay 8, 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.