Thread (63 messages) flat view 63 messages, 25 authors, 2016-06-15

Re: [1.8.0] git-stash invocation changes

From: Shawn Pearce <hidden>
Date: 2016-06-15 22:50:29

Possibly related (same subject, not in this thread)

On Wed, Feb 2, 2011 at 09:23, Thomas Rast [off-list ref] wrote:
Proposal:

1. Change 'git stash <not-a-stash-command>' to give a usage message
  instead of using <not-a-stash-command> as the stash message.
Oh please, yes, please do this.  We should have done this long, long
ago.  Its easy enough to train your fingers or fix your scripts to say
`git stash save list` rather than `git stash lsit` once stash errors
out and gives you a usage message once.
Migration plan:

In 1.7.5, give a loud warning for both syntaxes.

In 1.8.0, switch them as described.
Just fix it.  I can't imagine anyone cares enough that `git stash
blah` stops working without first saying save.

-- 
Shawn.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help