From: Sean Whitton Date: Mon, 7 Apr 2025 02:05:08 +0000 (+0800) Subject: * lisp/vc/vc-git.el (vc-git-checkin): Actually pass down TO-STASH. X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=08caa3327707d351d9a0bdbfa13f7c10d44db918;p=emacs.git * lisp/vc/vc-git.el (vc-git-checkin): Actually pass down TO-STASH. (cherry picked from commit 3ccd25f6b01bcd2e103faa86b11c10017b64e69b) --- diff --git a/lisp/vc/vc-git.el b/lisp/vc/vc-git.el index 0a85874c3b3..0b0b9449f5d 100644 --- a/lisp/vc/vc-git.el +++ b/lisp/vc/vc-git.el @@ -1204,7 +1204,7 @@ It is based on `log-edit-mode', and has Git-specific extensions." (unwind-protect (vc-git-command nil 0 nil "apply" "--cached" patch-file) (delete-file patch-file)))) - (when to-stash (vc-git--stash-staged-changes files))) + (when to-stash (vc-git--stash-staged-changes to-stash))) ;; When operating on the whole tree, better pass "-a" than ".", ;; since "." fails when we're committing a merge. (apply #'vc-git-command nil 0