purge-stale-projects.sh: Keep projects without remote #180
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue