Re: making "git stash" safer to use
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Oct 3, 2007, 21:36 UTC
- Message-ID
- <7vwsu3dgnu.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <200710032331.41385.bruno@clisp.org>
Bruno Haible <bruno@clisp.org> writes:
Show 8 quoted lines
>> While we're at it, I wish 'git stash clear' would take an optional >> argument that says which stash(es) to clear, rather than blindly clearing >> the entire stash. > > It would help if git would store which of the stashes were applied since > they were created and which were not. A stash that was not yet applied must > be considered "precious", whereas a stash that was applied is redundant, > right?
Wrong. I would say all stash entries are precious unless you explicitly say "I'm done with it". The problem is that we do not have a way to say it explicitly.