We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5950bf commit 861a5f8Copy full SHA for 861a5f8
all-projects.sh
@@ -209,13 +209,21 @@ cloneFetchAll() {
209
forAllProjects cloneFetch
210
211
# filter out all projects that could not be cloned (probably private):
212
+ local copy=()
213
+ for repo in "${repoSeq[@]}"; do
214
+ if [[ -d ../$repo/.git ]]; then
215
+ copy+=($repo)
216
+ fi
217
+ done
218
+ repoSeq=(${copy[@]})
219
+
220
local copy=()
221
for repo in "${repoName[@]}"; do
222
if [[ -d ../$repo/.git ]]; then
- copy+=($repo)
- fi
223
224
225
done
- repoName=(${copy[@]})
226
+ repoName=(${copy[@]})
227
}
228
cloneFetch() {
229
local repo="$1"; shift
0 commit comments