]> git.eshelyaron.com Git - emacs.git/commit
vc-git-checkin: Stash other staged changes
authorSean Whitton <spwhitton@spwhitton.name>
Fri, 23 Dec 2022 03:54:08 +0000 (20:54 -0700)
committerSean Whitton <spwhitton@spwhitton.name>
Sat, 24 Dec 2022 01:57:08 +0000 (18:57 -0700)
commit666c24a6269c35f27145350206cbbc057863e557
tree3ec3b8b7f03d932514aa68d7e86df0fc1418a35b
parenta5d39e11443fa30c8e8bc58254a1a59550dcd99e
vc-git-checkin: Stash other staged changes

* lisp/vc/vc-git.el (vc-git--stash-staged-changes): New function.
(vc-git-checkin): Use new function to avoid needing to unstage changes
unrelated to the patch we want to commit (bug#60126).
lisp/vc/vc-git.el