From: Jan Synacek Date: Mon, 18 Oct 2021 10:34:38 +0000 (+0200) Subject: Don't use color escape sequences in vc-git-expanded-log-entry X-Git-Tag: emacs-28.0.90~244 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5c1a575ef49f3548eb0fa164360b58c1fd28fbb8;p=emacs.git Don't use color escape sequences in vc-git-expanded-log-entry * lisp/vc/vc-git.el (vc-git-expanded-log-entry): Use '--no-color' flag in git invocation. (Bug#51262) Copyright-paperwork-exempt: yes --- diff --git a/lisp/vc/vc-git.el b/lisp/vc/vc-git.el index 35c0838dd6f..3f89fad2351 100644 --- a/lisp/vc/vc-git.el +++ b/lisp/vc/vc-git.el @@ -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.