Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH] stash clear: allow -v/--verbose to be passed

From: Junio C Hamano <hidden>
Date: 2016-06-15 23:03:28

Alexander Kuleshov [off-list ref] writes:
Added new option -v/--verbose to 'git stash clear' for verbose output.
Why?

I would sort-of understand if it were "git stash clear --confirm"
that internally runs "git stash list" and then asks "Are you sure
(Y/n)?"  and then finally clears [*1*], but what value does it add
to the system to be able to see what you lost and cannot recover
anymore after the damage is done?

Note that I am not advocating adding "clear --confirm" here (that is
what I mean by "sort-of understand"); the users can do that "Do I
really want to discard these?" themselves.


[Footnote]

*1* Or perhaps copying the stash to boneyard/stash before removing
them so that they can "undo" once.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help