]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/vc/vc-git.el (vc-git-diff): Pass --textconv (bug#79050).
authorSean Whitton <spwhitton@spwhitton.name>
Mon, 21 Jul 2025 08:26:59 +0000 (09:26 +0100)
committerEshel Yaron <me@eshelyaron.com>
Fri, 25 Jul 2025 08:10:55 +0000 (10:10 +0200)
(cherry picked from commit 90fc061fd2d2ca95c91c4db74c6f58ec95f9620b)

lisp/vc/vc-git.el

index dd536c5674f3b3e4c5e344aca9cbeee6f0ca880b..a6e5ceaf8e677d7fd39c3bc1877a97af323552ca 100644 (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