Skip to content
Snippets Groups Projects
Commit 7f6ab9a1 authored by Richard Hartmann's avatar Richard Hartmann
Browse files

Make `vcsh list` more resilient

Thanks to Mathdesc for catching that one.
parent 20e1e3ec
Branches
Tags
No related merge requests found
......@@ -133,8 +133,8 @@ init() {
}
list() {
for i in "$VCSH_REPO_D"/*.git; do
echo $(basename "$i" .git)
for repo in "$VCSH_REPO_D"/*.git; do
[ -r "$repo" ] && echo $(basename "$repo" .git)
done
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment