From d0564ebb7c2455b1a7581f1fe093a1068a46f9e0 Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Tue, 13 Sep 2011 10:41:02 -0400 Subject: [PATCH] grepid: ignore .git directories --- grepid | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/grepid b/grepid index 41cd828..d5a879c 100755 --- a/grepid +++ b/grepid @@ -2,4 +2,5 @@ id="$1" shift -exec grep --exclude-dir .svn --color=auto -R '\<'"${id}"'\>' "$@" +exec grep --exclude-dir .svn --exclude-dir .git --color=auto -R \ + '\<'"${id}"'\>' "$@"