Re: [PATCH] add: introduce add.ignoreerrors synonym for add.ignore-errors
- From
Jeff King <peff@peff.net>
- Date
- Dec 1, 2010, 18:46 UTC
- Message-ID
- <20101201184659.GA9147@sigill.intra.peff.net>
- In-Reply-To
- <20101201183615.GA27024@burratino>
On Wed, Dec 01, 2010 at 12:36:15PM -0600, Jonathan Nieder wrote:
> It was a bad idea, so let's do the simple thing. Like this? > > Documentation/config.txt | 1 + > builtin/add.c | 3 ++-
Yes, looks good to me. You could potentially drop the old one from the config:
Show 10 quoted lines
> --- a/Documentation/config.txt > +++ b/Documentation/config.txt > @@ -553,6 +553,7 @@ core.sparseCheckout:: > Enable "sparse checkout" feature. See section "Sparse checkout" in > linkgit:git-read-tree[1] for more information. > > +add.ignoreErrors:: > add.ignore-errors:: > Tells 'git add' to continue adding files when some files cannot be > added due to indexing errors. Equivalent to the '--ignore-errors'
which may be less confusing to new users (who might ask "is there a difference between the two?").
But I don't have a strong feeling on it, so either way:
Acked-by: Jeff King <peff@peff.net>
-Peff