From: Jeff King Date: Mon, 31 Aug 2009 04:36:10 GMT Subject: Re: [BUG] git stash refuses to save after "add -N" Message-ID: <20090831043610.GB16646@coredump.intra.peff.net> In-Reply-To: <7v63c5f4vs.fsf@alter.siamese.dyndns.org> On Sun, Aug 30, 2009 at 01:01:11PM -0700, Junio C Hamano wrote: > One thing I noticed was that while unstashing without --index, we add full > contents to the index of new files. I think it is because back then when > stash was written there was no other way, but now we have intent-to-add > and a way to stash such an entry, I think we should add only the intent to > add them in that codepath. > > Of course we will not do this when unstashing with --index. And btw, I think your suggestion is reasonable, though I don't feel strongly either way. I don't know that the current behavior is really bothering anybody. -Peff