]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/vc/vc-git.el (vc-git-grep): Use --no-color. (tiny change)
authorWilfred Hughes <wilfred@potatolondon.com>
Thu, 1 Sep 2011 07:29:56 +0000 (00:29 -0700)
committerGlenn Morris <rgm@gnu.org>
Thu, 1 Sep 2011 07:29:56 +0000 (00:29 -0700)
Fixes: debbugs:9408
lisp/ChangeLog
lisp/vc/vc-git.el

index dca9e23a67fb169ba3d32ee62da296c45bec68d4..5c998f0eeb85509839e02aeb63da3388ac435897 100644 (file)
@@ -1,3 +1,7 @@
+2011-09-01  Wilfred Hughes  <wilfred@potatolondon.com>  (tiny change)
+
+       * vc/vc-git.el (vc-git-grep): Use --no-color.  (Bug#9408)
+
 2011-08-31  Richard Stallman  <rms@gnu.org>
 
        * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
index 711a573ba993e39f27dbaa70e4768dfefb017189..fc42b43c97d7648a1a81e2021cf7fe0f851ac08b 100644 (file)
@@ -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 <R> -- <F>" regexp files))
+             (grep-expand-template "git grep --no-color -n -e <R> -- <F>"
+                                    regexp files))
        (when command
          (if (equal current-prefix-arg '(4))
              (setq command