[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 4ccc385ab1: vc-git: Ensure git doesn't try to colorize stashes
From: |
Stefan Kangas |
Subject: |
master 4ccc385ab1: vc-git: Ensure git doesn't try to colorize stashes |
Date: |
Sat, 12 Nov 2022 14:36:35 -0500 (EST) |
branch: master
commit 4ccc385ab136e9794ba7f9ee61d8e4643331887d
Author: Morgan Smith <Morgan.J.Smith@outlook.com>
Commit: Stefan Kangas <stefankangas@gmail.com>
vc-git: Ensure git doesn't try to colorize stashes
* lisp/vc/vc-git.el (vc-git-stash-show): Add --color=never to git
flags. (Bug#59158)
---
lisp/vc/vc-git.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lisp/vc/vc-git.el b/lisp/vc/vc-git.el
index 74536309e2..a1ff03144b 100644
--- a/lisp/vc/vc-git.el
+++ b/lisp/vc/vc-git.el
@@ -1883,7 +1883,8 @@ This command shares argument histories with \\[rgrep] and
\\[grep]."
"Show the contents of stash NAME."
(interactive (list (vc-git-stash-read "Show stash: ")))
(vc-setup-buffer "*vc-git-stash*")
- (vc-git-command "*vc-git-stash*" 'async nil "stash" "show" "-p" name)
+ (vc-git-command "*vc-git-stash*" 'async nil
+ "stash" "show" "--color=never" "-p" name)
(set-buffer "*vc-git-stash*")
(setq buffer-read-only t)
(diff-mode)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 4ccc385ab1: vc-git: Ensure git doesn't try to colorize stashes,
Stefan Kangas <=