]> git.eshelyaron.com Git - emacs.git/commit
vc-git-checkin: Don't relativize names of temporary files
authorSean Whitton <spwhitton@spwhitton.name>
Mon, 7 Apr 2025 02:03:46 +0000 (10:03 +0800)
committerEshel Yaron <me@eshelyaron.com>
Tue, 8 Apr 2025 05:46:51 +0000 (07:46 +0200)
commit8f2415d873570790763c9d0feb81a99f057bf4a2
treef0c0cef93dadc2a15fca38ab27d3bb8535fb6517
parentb8b0fe764fc1d71a2d8c0128e5511261226f8a47
vc-git-checkin: Don't relativize names of temporary files

* lisp/vc/vc-git.el (vc-git-checkin)
(vc-git--stash-staged-changes): Don't relativize names of
temporary files passed to 'git apply --cached'.  More generally,
these are not files managed by the underlying VCS, so they
shouldn't go in the FILE-OR-LIST argument to vc-git-command.

(cherry picked from commit 7f60aa45aab4191a44d6d83ec6c3004e4901469b)
lisp/vc/vc-git.el