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

git-diff(1) appears to contradict itself

From
Reuben Thomas <rrt@sc3d.org>
Date
Feb 12, 2013, 02:49 UTC
Message-ID
<CAOnWdojOT61XOY6JxL-3sR4W8N0katShsSLsOsuJ0-PuM9Vemg@mail.gmail.com>
Under the --color=<when> option, it says:

Show colored diff. The value must be always (the default for <when>), never, or auto. The default value is never.

That seems to imply that the default is both always and never. If I'm right, I suggest removing the parenthesis, and putting the correct default value at the end of the sentence. If I'm wrong, I suggest clarification!

-- http://rrt.sc3d.org

Next: Junio C Hamano
Message 1 of 3 in “git-diff(1) appears to contradict itself”
  1. Reuben ThomasFeb 12, 2013
  2. Junio C HamanoFeb 12, 2013
  3. Reuben ThomasFeb 12, 2013

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.