From d353f16e21ca906dc2b1ace0cddb308d76a08a91 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Wed, 20 Oct 2010 16:24:59 +0200 Subject: [PATCH] comment --- git-recurse | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/git-recurse b/git-recurse index a1604e1..5a373da 100755 --- a/git-recurse +++ b/git-recurse @@ -81,7 +81,8 @@ processargs() # recurse through all sub-repos status=0 -for GITDIR in `find . -type d -name \*.git`; do +# TODO is there a better way to identify all sub-repos? +for GITDIR in `find . -type d -name \*.git -prune`; do # TODO I would LIKE to do this, but then some commands (like pull) fail #export GIT_DIR="$GITDIR" #export GIT_WORK_TREE="${GITDIR%/.git}" -- 2.39.2