]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/vc/vc-git.el (vc-git-diff): Don't pass --textconv.
authorSean Whitton <spwhitton@spwhitton.name>
Tue, 22 Jul 2025 10:34:44 +0000 (11:34 +0100)
committerEshel Yaron <me@eshelyaron.com>
Fri, 25 Jul 2025 08:11:55 +0000 (10:11 +0200)
This reverts this change:

    Author:     Sean Whitton <spwhitton@spwhitton.name>
    AuthorDate: Mon Jul 21 09:26:59 2025 +0100

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

(cherry picked from commit d381a7e79932f83aafb4de0340037f393ed031b5)

lisp/vc/vc-git.el

index a6e5ceaf8e677d7fd39c3bc1877a97af323552ca..dd536c5674f3b3e4c5e344aca9cbeee6f0ca880b 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" "--textconv"
+               "--exit-code"
                (append (vc-switches 'git 'diff)
                        (list "-p" (or rev1 "HEAD") rev2 "--")))
       (vc-git-command (or buffer "*vc-diff*") 1 files