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
No related branches found
No related tags found
No related merge requests found
...@@ -133,8 +133,8 @@ init() { ...@@ -133,8 +133,8 @@ init() {
} }
list() { list() {
for i in "$VCSH_REPO_D"/*.git; do for repo in "$VCSH_REPO_D"/*.git; do
echo $(basename "$i" .git) [ -r "$repo" ] && echo $(basename "$repo" .git)
done done
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment