Stash now takes account of its key-group arguments.
This commit is contained in:
parent
62d3e95805
commit
7f8f7de527
1 changed files with 1 additions and 5 deletions
6
magit.el
6
magit.el
|
@ -3594,11 +3594,7 @@ Working tree and staging area revert to the current 'HEAD'.
|
|||
With prefix argument, changes in staging area are kept.
|
||||
\('git stash save [--keep-index] DESCRIPTION')"
|
||||
(interactive "sStash description: ")
|
||||
(apply 'magit-run-git `("stash"
|
||||
"save"
|
||||
,@(when current-prefix-arg '("--keep-index"))
|
||||
"--"
|
||||
,description)))
|
||||
(apply 'magit-run-git `("stash" "save" ,@magit-custom-options "--" ,description)))
|
||||
|
||||
(magit-define-command stash-snapshot ()
|
||||
"Create new stash of working tree and staging area; keep changes in place.
|
||||
|
|
Loading…
Reference in a new issue