Re: [PATCH] Mark 'git stash [message...]' as deprecated
- From
Pierre Habouzit <madcoder@debian.org>
- Date
- Nov 7, 2007, 08:23 UTC
- Message-ID
- <20071107082345.GA18057@artemis.corp>
- In-Reply-To
- <1194395205-27905-1-git-send-email-bdowning@lavos.net>
On Wed, Nov 07, 2007 at 12:26:44AM +0000, Brian Downing wrote:
> Complain to STDERR unless 'git stash save' is explicitly used. > This is in preparation for completely disabling the "default save" > behavior of the command in the future.
No arguments at all should not IMHO be deprecated, it's very useful, and is not ambiguous. The issue with git stash <random> is that if you thought you typed a command that doesn't in fact exists, you stash which is not what you meant _at all_.
When you type `git stash` you certainly want to stash, and it's what it does.
Here is how it should work:
git-stash (list | show [<stash>] | apply [<stash>] | clear) git-stash [save <message>]
-- ·O· Pierre Habouzit ··O madcoder@debian.org OOO http://www.madism.org