summary refs log tree commit diff
path: root/xmypkgs
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2016-05-21 16:59:16 +0200
committerChristian Neukirchen <chneukirchen@gmail.com>2016-05-21 16:59:16 +0200
commit104e8770d897433ea93ad591a5e3afd13a1bb834 (patch)
treedf9065016d29788551bccb3288f000f4a42b21b3 /xmypkgs
parent7004267a13f134d3ce94e058de079214e7f0f2c2 (diff)
downloadxtools-104e8770d897433ea93ad591a5e3afd13a1bb834.tar.gz
xtools-104e8770d897433ea93ad591a5e3afd13a1bb834.tar.xz
xtools-104e8770d897433ea93ad591a5e3afd13a1bb834.zip
xmypkgs: use "git grep", much faster. v0.39
Diffstat (limited to 'xmypkgs')
-rwxr-xr-xxmypkgs3
1 files changed, 1 insertions, 2 deletions
diff --git a/xmypkgs b/xmypkgs
index f8b117a..4520462 100755
--- a/xmypkgs
+++ b/xmypkgs
@@ -8,7 +8,6 @@ if [ -z "$EMAIL" ]; then
 fi
 
 cd "$(xdistdir)" &&
-find srcpkgs -name template -print0 |
-	xargs -0 grep -l -F "<$EMAIL>" |
+git grep -l -F "<$EMAIL>" -- 'srcpkgs/*/template'
 	cut -d/ -f2 |
 	sort