projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d794f1d
)
vc-git: Ensure git doesn't try to colorize stashes
author
Morgan Smith
<Morgan.J.Smith@outlook.com>
Wed, 9 Nov 2022 21:16:55 +0000
(16:16 -0500)
committer
Stefan Kangas
<stefankangas@gmail.com>
Sat, 12 Nov 2022 19:34:50 +0000
(20:34 +0100)
* lisp/vc/vc-git.el (vc-git-stash-show): Add --color=never to git
flags. (Bug#59158)
lisp/vc/vc-git.el
patch
|
blob
|
history
diff --git
a/lisp/vc/vc-git.el
b/lisp/vc/vc-git.el
index 74536309e2927a7e12899b6ec7055cce76879acc..a1ff03144bcd3d3fb5f737d23564aa18cade3cbc 100644
(file)
--- 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)