From: Kevin Leung <hidden> Date: 2016-06-15 22:43:55
The current git-stash behaviour is very error prone to typos. For example,
if you typed "git-stash llist", git-stash would thought that you wanted to
save to a stash named "llist", but in fact, you meant "git-stash list".
Signed-off-by: Kevin Leung <redacted>
---
git-stash.sh | 15 ++++++---------
1 files changed, 6 insertions(+), 9 deletions(-)
From: Mike Hommey <hidden> Date: 2016-06-15 22:43:55
On Fri, Nov 30, 2007 at 04:16:34PM +0800, Kevin Leung [off-list ref] wrote:
The current git-stash behaviour is very error prone to typos. For example,
if you typed "git-stash llist", git-stash would thought that you wanted to
save to a stash named "llist", but in fact, you meant "git-stash list".
Still, 'git stash' alone should *do* the stash.
Mike
From: Kevin Leung <hidden> Date: 2016-06-15 22:43:55
On Nov 30, 2007 4:41 PM, Mike Hommey [off-list ref] wrote:
Still, 'git stash' alone should *do* the stash.
How about `git stash' still does the stash, and `git stash llist'
exits with usage message? And if you want to save the stash with name,
you can only do it with `git stash save name_of_stash'.
Kevin Leung
On Nov 30, 2007 4:41 PM, Mike Hommey [off-list ref] wrote:
quoted
Still, 'git stash' alone should *do* the stash.
How about `git stash' still does the stash, and `git stash llist'
exits with usage message? And if you want to save the stash with name,
you can only do it with `git stash save name_of_stash'.
That's probably the way it should have been all along.
From: Johannes Schindelin <hidden> Date: 2016-06-15 22:43:55
Hi,
On Fri, 30 Nov 2007, Kevin Leung wrote:
The current git-stash behaviour is very error prone to typos. For
example, if you typed "git-stash llist", git-stash would thought that
you wanted to save to a stash named "llist", but in fact, you meant
"git-stash list".
I am fine with your patch. I would be equally fine with "git stash" still
choosing a default message and stashing.
And yes, I agree that the "git stash <whatever>" might be a little too
error-prone.
Ciao,
Dscho