]> git.eshelyaron.com Git - emacs.git/commit
vc-git-checkin: Don't try to apply an empty patch
authorSean Whitton <spwhitton@spwhitton.name>
Tue, 20 Dec 2022 22:53:19 +0000 (15:53 -0700)
committerSean Whitton <spwhitton@spwhitton.name>
Thu, 22 Dec 2022 20:37:12 +0000 (13:37 -0700)
commitbaaa9f42e574aa5eceeb4b9354a42ccb8ff1969a
tree89b81f76547411004352c7c0b75a94cc1ef96141
parent0754173c923a1888a1b18b4c6c5d1dc72e6cc6af
vc-git-checkin: Don't try to apply an empty patch

* lisp/vc/vc-git.el (vc-git-checkin): Don't try to apply an empty
patch to the index, because in that case 'git apply' fails.

(cherry picked from commit 1424342225ef5b18c630364dd88e004f4ebb1c7f)
lisp/vc/vc-git.el