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

Re: git-diff(1) appears to contradict itself

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 12, 2013, 02:54 UTC
Message-ID
<7v1ucmjl6x.fsf@alter.siamese.dyndns.org>
In-Reply-To
<CAOnWdojOT61XOY6JxL-3sR4W8N0katShsSLsOsuJ0-PuM9Vemg@mail.gmail.com>
Reuben Thomas <rrt@sc3d.org> writes:
> 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.
I think it wants to say this:
    You can say "diff --color" without saying "when".  That is the
    same as saying "diff --color=always".
    If you do not say "--color" at all, that is exactly the same as
    saying "diff --color=never".
Patches welcome.
Previous: Reuben ThomasNext: Reuben Thomas
Message 2 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.