From 793d32bb233a506655d9e74050b6b336c504f929 Mon Sep 17 00:00:00 2001 From: Wilfred Hughes Date: Thu, 1 Sep 2011 00:29:56 -0700 Subject: [PATCH] * lisp/vc/vc-git.el (vc-git-grep): Use --no-color. (tiny change) Fixes: debbugs:9408 --- lisp/ChangeLog | 4 ++++ lisp/vc/vc-git.el | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index dca9e23a67f..5c998f0eeb8 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2011-09-01 Wilfred Hughes (tiny change) + + * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408) + 2011-08-31 Richard Stallman * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account diff --git a/lisp/vc/vc-git.el b/lisp/vc/vc-git.el index 711a573ba99..fc42b43c97d 100644 --- a/lisp/vc/vc-git.el +++ b/lisp/vc/vc-git.el @@ -988,7 +988,8 @@ This command shares argument histories with \\[rgrep] and \\[grep]." (setq command nil)) (setq dir (file-name-as-directory (expand-file-name dir))) (setq command - (grep-expand-template "git grep -n -e -- " regexp files)) + (grep-expand-template "git grep --no-color -n -e -- " + regexp files)) (when command (if (equal current-prefix-arg '(4)) (setq command -- 2.39.5