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

Re: [PATCH] git stash: one bug and one feature request

From: Brian Swetland <hidden>
Date: 2016-06-15 22:44:02

[Jakub Narebski [off-list ref]]
Pascal Obry [off-list ref] writes:
quoted
Brandon Casey a écrit :
quoted
Not sure how often such a command would be used though, so
it may not be worth it.
I've missed it many times. Especially in some scripts when I want to use
the stash-stack to store current working tree and clear it before
exiting. This is not possible today as all the stash-stack would be cleared.

I agree that drop seems better.
or "git stash delete"
Something like drop or delete would be nice.

I tried to "clear" a single stash once. Oops!

Is there a reason that git stash apply couldn't take a small integer
as the argument (at least as an alternative) instead of stash@{0}, etc?

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