repo: Limit repo search depth for SPEEEED!!!

This commit is contained in:
Lucas Wilson-Richter
2024-05-21 16:06:03 +10:00
parent 94215b6cb7
commit 18c9545eca

2
repo
View File

@ -22,7 +22,7 @@
source $(dirname ${BASH_SOURCE[0]})/config.bash
repos=$(find "${REPOSITORY_BASE}" -name '.git' | sed "s|${REPOSITORY_BASE}/||" | sed 's|.git$||' | sort)
repos=$(find "${REPOSITORY_BASE}" -maxdepth 5 -name '.git' | sed "s|${REPOSITORY_BASE}/||" | sed 's|.git$||' | sort)
# Default to searching within github.com, because that's by far the most common
# place for repos to be.