Skip to content

Commit 8a8783c

Browse files
committed
more tracing
1 parent f6d68cd commit 8a8783c

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

all-projects.sh

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -229,8 +229,9 @@ cloneFetch() {
229229
local repo="$1"; shift
230230
(
231231
if [[ ! -d ".git" ]]; then
232-
printf "# cloning %s...\n" "$repo"
233-
GIT_SSH_COMMAND='ssh -oBatchMode=yes' git clone git@github.com/ModelingValueGroup/$repo.git TMP_GIT >/dev/null 2>&1 || :
232+
printf "# %-20s - cloning...\n" "$repo"
233+
#GIT_SSH_COMMAND='ssh -oBatchMode=yes' git clone git@github.com/ModelingValueGroup/$repo.git TMP_GIT >/dev/null 2>&1 || :
234+
GIT_SSH_COMMAND='ssh -oBatchMode=yes' git clone git@github.com/ModelingValueGroup/$repo.git TMP_GIT || :
234235
if [[ -d ".git" ]]; then
235236
cp -R TMP_GIT/. .
236237
rm -rf TMP_GIT
@@ -240,12 +241,12 @@ cloneFetch() {
240241
fi
241242
fi
242243
if [[ ! -d ".git" ]]; then
243-
echo "# not available: $repo" 1>&2
244+
printf "# %-20s - not available\n" "$repo" 1>&2
244245
else
245246
git fetch --progress --prune --all >/dev/null 2>&1
246-
echo "# done: $repo" 1>&2
247+
printf "# %-20s - done\n" "$repo" 1>&2
247248
fi
248-
)&
249+
) #&
249250
}
250251
pullAll() {
251252
echo

0 commit comments

Comments
 (0)