purge-stale-projects.sh: Keep projects without remote #180

Merged
Jan Lindemann merged 1 commit from jan/fix/20261117-purge-stale-projects-sh-keep-projects-without-remote into master 2026-11-17 13:32:50 +01:00 AGit

View file

@ -116,6 +116,7 @@ for vcs in $vcss; do
for p in $local_git_proj; do
[ -L $p ] && continue
[ -d $p ] || continue
git -C $p remote | grep -q . || { log "leaving \"$p\" alone, it has no remote"; continue; }
echo $remote_git_proj | grep -q "\(^\| \)$p\($\| \)" && continue
check_scm $p
echo done checking scm