Skip to content

Commit b234062

Browse files
committed
skip unclonable repos
1 parent 7fc1585 commit b234062

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ghstat.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ done | tqdm --desc "[3/4] clone" --unit repos --total $(echo $REPOS_INCL | wc -w
9292
[[ -f languages.yml ]] || wget https://github.com/github/linguist/raw/master/lib/linguist/languages.yml
9393
for repo in ${REPOS_INCL}; do
9494
repo_path="$(echo "$this/repos/$repo/" | sed -r 's/(\W)/\\\1/g')"
95-
git -C "$this/repos/$repo" log --format="" -M -C -C --author="$AUTHOR" --numstat |
95+
git -C "$this/repos/$repo" log --format="" -M -C -C --author="$AUTHOR" --numstat || : |
9696
sed -r "s/(\t.*\t)/\1${repo_path}/"
9797
done |
9898
tqdm --desc "[4/4] processing" --unit commits |

0 commit comments

Comments
 (0)