From 104e8770d897433ea93ad591a5e3afd13a1bb834 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Sat, 21 May 2016 16:59:16 +0200 Subject: xmypkgs: use "git grep", much faster. --- xmypkgs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'xmypkgs') 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 -- cgit 1.4.1