gitk: Use --textconv to generate diff text
[gitweb.git] / gitk
diff --git a/gitk b/gitk
index 1a7887b2528140d63b84a72843c0d0ef64f56538..dcbfdc65389f02f63848df8bb55c9b52ba6f41b6 100755 (executable)
--- a/gitk
+++ b/gitk
@@ -7268,7 +7268,7 @@ proc getblobdiffs {ids} {
     global limitdiffs vfilelimit curview
     global diffencoding targetline diffnparents
 
-    set cmd [diffcmd $ids "-p -C --cc --no-commit-id -U$diffcontext"]
+    set cmd [diffcmd $ids "-p --textconv -C --cc --no-commit-id -U$diffcontext"]
     if {$ignorespace} {
        append cmd " -w"
     }