From f8a0921c01853a8787f7e6c2a933afd73ad8f176 Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Mon, 21 Jul 2025 09:26:59 +0100 Subject: [PATCH] * lisp/vc/vc-git.el (vc-git-diff): Pass --textconv (bug#79050). (cherry picked from commit 90fc061fd2d2ca95c91c4db74c6f58ec95f9620b) --- lisp/vc/vc-git.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5