From: Sean Whitton Date: Mon, 21 Jul 2025 08:26:59 +0000 (+0100) Subject: * lisp/vc/vc-git.el (vc-git-diff): Pass --textconv (bug#79050). X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f8a0921c01853a8787f7e6c2a933afd73ad8f176;p=emacs.git * lisp/vc/vc-git.el (vc-git-diff): Pass --textconv (bug#79050). (cherry picked from commit 90fc061fd2d2ca95c91c4db74c6f58ec95f9620b) --- diff --git a/lisp/vc/vc-git.el b/lisp/vc/vc-git.el index dd536c5674f..a6e5ceaf8e6 100644 --- a/lisp/vc/vc-git.el +++ b/lisp/vc/vc-git.el @@ -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