1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-06 22:12:30 -08:00

* lisp/vc/vc-git.el (vc-git-diff): Pass --textconv (bug#79050).

This commit is contained in:
Sean Whitton 2025-07-21 09:26:59 +01:00
parent 59575c32aa
commit 90fc061fd2

View file

@ -1829,7 +1829,7 @@ This requires git 1.8.4 or later, for the \"-L\" option of \"git log\"."
(if async 'async 1)
files
command
"--exit-code"
"--exit-code" "--textconv"
(append (vc-switches 'git 'diff)
(list "-p" (or rev1 "HEAD") rev2 "--")))
(vc-git-command (or buffer "*vc-diff*") 1 files