Thread (21 messages) flat view 21 messages, 9 authors, 2016-06-15

Re: git-stash: RFC: Adopt the default behavior to other commands

From: Johannes Schindelin <hidden>
Date: 2016-06-15 22:44:00

Possibly related (same subject, not in this thread)

Hi,

On Tue, 18 Dec 2007, Andreas Ericsson wrote:
Jakub Narebski wrote:
quoted
Andreas Ericsson [off-list ref] writes:
quoted
My point is that it would be nice if all git commands that actually 
manipulate objects (create/delete/modify) had a safe default, and 
that experienced users such as yourself could endure the 
insufferable agony of retraining your fingers to type five more 
chars so that people won't have to get bitten by surprises.
Also for "git commit"?
git commit has a very safe default; It runs "git status" and exits.
Not in my universe.  It starts an editor, and then commits what I staged.
quoted
In my opinion _basic_ usage of git-stash is simply using it with one 
stash only: "git stash" / "git unstash" (i.e. "git stash apply"; by 
the way this is one (beside "git view") use case for builtin 
predefined aliases).  Using it with multiple stashes (only then "git 
stash list" is needed) is advanced usage; and for advanced usage 
longer form is preferred, I think.
Perhaps. I'll stop quibbling about it. I don't care very deeply about it 
anyway.
Ah.  That explains why you made a case against the default operation ;-)

Ciao,
Dscho
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help