From 18c9545ecaca4181b4834a09269cb509ca096fbb Mon Sep 17 00:00:00 2001 From: Lucas Wilson-Richter Date: Tue, 21 May 2024 16:06:03 +1000 Subject: [PATCH] repo: Limit repo search depth for SPEEEED!!! --- repo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repo b/repo index bb3444b..62ae720 100755 --- a/repo +++ b/repo @@ -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.