All of lore.kernel.org
 help / color / mirror / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: David Aguilar <davvid@gmail.com>
Cc: git@vger.kernel.org, Matthieu Moy <Matthieu.Moy@imag.fr>
Subject: Re: [PATCH] add: allow users to silence Git 2.0 warnings about "add -u"
Date: Thu, 21 Feb 2013 22:23:13 -0800	[thread overview]
Message-ID: <7vtxp4sw8e.fsf@alter.siamese.dyndns.org> (raw)
In-Reply-To: <1361513224-34550-1-git-send-email-davvid@gmail.com> (David Aguilar's message of "Thu, 21 Feb 2013 22:07:04 -0800")

David Aguilar <davvid@gmail.com> writes:

> When "git add -u" is invoked from a subdirectory it prints a
> loud warning message about an upcoming Git 2.0 behavior change.
> Some users do not care to be warned.  Accomodate them.

I do not think this is what we discussed to do.

It was very much deliberate to make the way to "squelch the warning"
not a "set once and *forget*", aka configuration variable, but a
simple-to-type extra command line argument i.e. "git add -u .", that
you will *always* type to train your fingers to explicitly say what
you mean, so that the default switch will not matter to existing
users.

  reply	other threads:[~2013-02-22  6:23 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-22  6:07 [PATCH] add: allow users to silence Git 2.0 warnings about "add -u" David Aguilar
2013-02-22  6:23 ` Junio C Hamano [this message]
2013-02-22  7:12   ` David Aguilar
2013-02-22  9:32     ` Matthieu Moy
2013-02-22 17:30       ` Junio C Hamano
2013-02-23  7:59         ` David Aguilar
2013-02-23  8:44           ` Junio C Hamano
2013-02-22 17:18     ` Junio C Hamano

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=7vtxp4sw8e.fsf@alter.siamese.dyndns.org \
    --to=gitster@pobox.com \
    --cc=Matthieu.Moy@imag.fr \
    --cc=davvid@gmail.com \
    --cc=git@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.