Merge "Don't search for nested repositories during git-gc"
diff --git a/container-images/git-gc/tools/gc.sh b/container-images/git-gc/tools/gc.sh
index 6dfd665..2b1c17c 100755
--- a/container-images/git-gc/tools/gc.sh
+++ b/container-images/git-gc/tools/gc.sh
@@ -93,7 +93,7 @@
 
 gc_all_projects()
 {
-  for d in $(cd $TOP && find . -type d -name "*.git" | cut -c3- -)
+  for d in $(cd $TOP && find . -type d -path "*.git" -prune -o -name "*.git" | cut -c3- -)
   do
     gc_project "$d"
   done