Re: making "git stash" safer to use
- From
David Kastrup <dak@gnu.org>
- Date
- Oct 4, 2007, 20:59 UTC
- Message-ID
- <85przuoato.fsf@lola.goethe.zz>
- In-Reply-To
- <858x6jff2v.fsf@lupus.ig3.net>
Joachim B Haga <cjhaga@fys.uio.no> writes:
Show 17 quoted lines
> What makes it most dangerous is that there is no differentiation > between a name and a command in the same position. I'd argue that > either the command should be mandatory: > > git stash save mywork > git stash apply mywork > git stash clear mywork > git stash mywork # error > > (we can still keep today's shortcuts "git stash" and "git stash apply", > but only for the un-named case), > > or that the command should be of the option type: > > git stash mywork > git stash --apply mywork > git stash --clear mywork
Hear, hear! I vote for the latter. The former is still better than the current state, though.
-- David Kastrup, Kriemhildstr. 15, 44793 Bochum