From: Wilfred Hughes Date: Thu, 1 Sep 2011 07:29:56 +0000 (-0700) Subject: * lisp/vc/vc-git.el (vc-git-grep): Use --no-color. (tiny change) X-Git-Tag: emacs-pretest-24.0.90~104^2~152^2~16 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=793d32bb233a506655d9e74050b6b336c504f929;p=emacs.git * lisp/vc/vc-git.el (vc-git-grep): Use --no-color. (tiny change) Fixes: debbugs:9408 --- 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