emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-28 5c1a575: Don't use color escape sequences in vc-git-expanded-lo


From: Stefan Kangas
Subject: emacs-28 5c1a575: Don't use color escape sequences in vc-git-expanded-log-entry
Date: Tue, 19 Oct 2021 13:48:20 -0400 (EDT)

branch: emacs-28
commit 5c1a575ef49f3548eb0fa164360b58c1fd28fbb8
Author: Jan Synacek <jan.synacek@gmail.com>
Commit: Stefan Kangas <stefan@marxist.se>

    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
---
 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 35c0838..3f89fad 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]