diff --git a/lib/git/repo_index.sh b/lib/git/repo_index.sh index a6e87b7..17011e5 100644 --- a/lib/git/repo_index.sh +++ b/lib/git/repo_index.sh @@ -123,7 +123,7 @@ _git_index_dirs_without_home() { function _find_git_repos() { # Find all unarchived projects IFS=$'\n' - for repo in $(find "$GIT_REPO_DIR" -maxdepth 4 -name ".git" -type d \! -wholename '*/archive/*'); do + for repo in $(find -L "$GIT_REPO_DIR" -maxdepth 4 -name ".git" -type d \! -wholename '*/archive/*'); do echo ${repo%/.git} # Return project folder, with trailing ':' _find_git_submodules $repo # Detect any submodules done