emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r105630: * lisp/vc/vc-git.el (vc-git-


From: Glenn Morris
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r105630: * lisp/vc/vc-git.el (vc-git-grep): Use --no-color. (tiny change)
Date: Thu, 01 Sep 2011 00:29:56 -0700
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 105630
fixes bug(s): http://debbugs.gnu.org/9408
author: Wilfred Hughes <address@hidden>
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Thu 2011-09-01 00:29:56 -0700
message:
  * lisp/vc/vc-git.el (vc-git-grep): Use --no-color.  (tiny change)
modified:
  lisp/ChangeLog
  lisp/vc/vc-git.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2011-08-31 20:49:24 +0000
+++ b/lisp/ChangeLog    2011-09-01 07:29:56 +0000
@@ -1,3 +1,7 @@
+2011-09-01  Wilfred Hughes  <address@hidden>  (tiny change)
+
+       * vc/vc-git.el (vc-git-grep): Use --no-color.  (Bug#9408)
+
 2011-08-31  Richard Stallman  <address@hidden>
 
        * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account

=== modified file 'lisp/vc/vc-git.el'
--- a/lisp/vc/vc-git.el 2011-03-10 08:26:41 +0000
+++ b/lisp/vc/vc-git.el 2011-09-01 07:29:56 +0000
@@ -988,7 +988,8 @@
              (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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]