repo: Limit repo search depth for SPEEEED!!!
This commit is contained in:
2
repo
2
repo
@ -22,7 +22,7 @@
|
|||||||
|
|
||||||
source $(dirname ${BASH_SOURCE[0]})/config.bash
|
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
|
# Default to searching within github.com, because that's by far the most common
|
||||||
# place for repos to be.
|
# place for repos to be.
|
||||||
|
|||||||
Reference in New Issue
Block a user