From: Matthias Krüger Date: Sun, 9 Jun 2013 07:23:33 +0000 (+0200) Subject: Merge branch 'master' into matthiaskrgr/all_grep X-Git-Tag: xonotic-v0.8.0~119^2~3 X-Git-Url: http://git.xonotic.org/?a=commitdiff_plain;h=fecbeade2d1d7e1b7db175bbdcf2aa72836a5f3e;hp=deb8e4616eb74989291de9e010e02d9f1103c477;p=xonotic%2Fxonotic.git Merge branch 'master' into matthiaskrgr/all_grep --- diff --git a/misc/tools/all/git.subr b/misc/tools/all/git.subr index 69ad888f..cf19f758 100644 --- a/misc/tools/all/git.subr +++ b/misc/tools/all/git.subr @@ -960,6 +960,14 @@ case "$cmd" in $ECHO " $SELF update|pull [-N] [-s | -h [-p] | -g [-p]] [-l de|nl|default]" handled=false ;; + grep) + for d in $repos; do + if verbose cd "$d0/$d"; then + git grep -I "$@" || true + cd "$d0" + fi + done + ;; *) handled=false ;;