]> git.eshelyaron.com Git - emacs.git/commitdiff
Don't use color escape sequences in vc-git-expanded-log-entry
authorJan Synacek <jan.synacek@gmail.com>
Mon, 18 Oct 2021 10:34:38 +0000 (12:34 +0200)
committerStefan Kangas <stefan@marxist.se>
Tue, 19 Oct 2021 17:45:25 +0000 (19:45 +0200)
* lisp/vc/vc-git.el (vc-git-expanded-log-entry): Use '--no-color' flag
in git invocation.  (Bug#51262)

Copyright-paperwork-exempt: yes

lisp/vc/vc-git.el

index 35c0838dd6f3525cd2e17ea0ee757aa231c1ca91..3f89fad2351546dd4a67309b08906ddf1046a323 100644 (file)
@@ -1323,7 +1323,7 @@ or BRANCH^ (where \"^\" can be repeated)."
 
 (defun vc-git-expanded-log-entry (revision)
   (with-temp-buffer
-    (apply #'vc-git-command t nil nil (list "log" revision "-1" "--"))
+    (apply #'vc-git-command t nil nil (list "log" revision "-1"  "--no-color" "--"))
     (goto-char (point-min))
     (unless (eobp)
       ;; Indent the expanded log entry.