aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/vc/vc-git.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/vc/vc-git.el b/lisp/vc/vc-git.el
index ca457fb3d1e..03afce51709 100644
--- a/lisp/vc/vc-git.el
+++ b/lisp/vc/vc-git.el
@@ -1480,7 +1480,7 @@ This command shares argument histories with \\[rgrep] and \\[grep]."
1480 (interactive "sStash name: ") 1480 (interactive "sStash name: ")
1481 (let ((root (vc-git-root default-directory))) 1481 (let ((root (vc-git-root default-directory)))
1482 (when root 1482 (when root
1483 (vc-git--call nil "stash" "save" name) 1483 (apply #'vc-git--call nil "stash" "push" "-m" name (vc-dir-marked-files))
1484 (vc-resynch-buffer root t t)))) 1484 (vc-resynch-buffer root t t))))
1485 1485
1486(defvar vc-git-stash-read-history nil 1486(defvar vc-git-stash-read-history nil