Re: [BUG] git stash refuses to save after "add -N"
- From
Jeff King <peff@peff.net>
- Date
- Aug 31, 2009, 04:36 UTC
- 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:
Show 7 quoted lines
> 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