Re: What's cooking in git.git (Apr 2013, #05; Mon, 15)
- From
Jeff King <peff@peff.net>
- Date
- Apr 17, 2013, 20:10 UTC
- Message-ID
- <20130417201056.GA2914@sigill.intra.peff.net>
- In-Reply-To
- <7vwqs1dnxp.fsf@alter.siamese.dyndns.org>
On Wed, Apr 17, 2013 at 11:14:42AM -0700, Junio C Hamano wrote:
Show 13 quoted lines
> > I think it is just the warning code avoiding extra complexity and > > overhead, if you are talking about not getting warning in the > > pre-2.0 step that is in 'next'. Patches are very much welcomed, > > especially the ones that come before I get around to it ;-) > > I took a brief look at the code, and as you said "add" needs to know > about submodules, and the best fix looks to me to take the same > approach Jonathan came up with to de-noise the "add -u/-A" topic. > > That is, to scan the working tree to actually see if we would record > removals to the index in 2.0, but not remove them in this current > version, and give the warning when the differences in the behaviours > matter.
Yeah, I had the same thought, as this warning has been bugging me for the last day or two. The worst part about it is that I finally trained myself to type "git add ." to silence the _other_ warning, and now it triggers this one. :)
-Peff