From: Pat Notz Date: Wed, 09 Feb 2011 14:35:38 GMT Subject: Re: [1.8.0] git-stash invocation changes Message-ID: In-Reply-To: <201102021951.31883.trast@student.ethz.ch> On Wed, Feb 2, 2011 at 11:51 AM, Thomas Rast wrote: > Matthieu Moy wrote: >> Shawn Pearce writes: >> >> > On Wed, Feb 2, 2011 at 09:23, Thomas Rast wrote: >> >> Proposal: >> >> >> >> 1. Change 'git stash ' to give a usage message >> >>   instead of using 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. >> >> Err, hasn't this been fixed long ago already? > > Oh, you're actually right.  I have totally missed this, and should > obviously have tested first. > > Still, I think the change to 'git stash -p' is also worthwhile. > There's still something annoyingly different about git-stash. Most git commands that take sub-commands simply list useful information when you don't provide a sub-command: git branch --> lists local branches git tag --> lists tags git remote --> lists remotes git stash --> creates a new stash It would be much more predictable if git-stash without a sub-command just listed the current stashes. But, at this point it's probably too late to change that behavior. > -- > Thomas Rast > trast@{inf,student}.ethz.ch > -- > To unsubscribe from this list: send the line "unsubscribe git" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at  http://vger.kernel.org/majordomo-info.html >