Git development
 help / color / mirror / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: Reuben Thomas <rrt@sc3d.org>
Cc: git@vger.kernel.org
Subject: Re: git-diff(1) appears to contradict itself
Date: Mon, 11 Feb 2013 18:54:46 -0800	[thread overview]
Message-ID: <7v1ucmjl6x.fsf@alter.siamese.dyndns.org> (raw)
In-Reply-To: <CAOnWdojOT61XOY6JxL-3sR4W8N0katShsSLsOsuJ0-PuM9Vemg@mail.gmail.com> (Reuben Thomas's message of "Tue, 12 Feb 2013 02:49:35 +0000")

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.

  reply	other threads:[~2013-02-12  2:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-12  2:49 git-diff(1) appears to contradict itself Reuben Thomas
2013-02-12  2:54 ` Junio C Hamano [this message]
2013-02-12  3:09   ` Reuben Thomas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7v1ucmjl6x.fsf@alter.siamese.dyndns.org \
    --to=gitster@pobox.com \
    --cc=git@vger.kernel.org \
    --cc=rrt@sc3d.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox