]> git.xonotic.org Git - xonotic/div0-gittools.git/commitdiff
comment
authorRudolf Polzer <divverent@alientrap.org>
Wed, 20 Oct 2010 14:24:59 +0000 (16:24 +0200)
committerRudolf Polzer <divverent@alientrap.org>
Wed, 20 Oct 2010 14:24:59 +0000 (16:24 +0200)
git-recurse

index a1604e13c6375e10a85057d505f3e469a968725d..5a373da3789ce30e79715180b8649248909b0120 100755 (executable)
@@ -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}"