X-Git-Url: https://git.madduck.net/code/vcsh.git/blobdiff_plain/7f6ab9a128b7848186a9a36580011a97253f70c8..eaafe75591b135cd256e4c77e21be199131407d5:/vcsh?ds=inline diff --git a/vcsh b/vcsh index c6ea395..358135a 100755 --- a/vcsh +++ b/vcsh @@ -5,6 +5,11 @@ # For details, see LICENSE. To submit patches, you have to agree to # license your code under the GNU GPL version 2 or later. +# While the following is not legally binding, the author would like to +# explain the choice of GPLv2+ over GPLv3+. +# The author prefers GPLv3+ over GPLv2+ but feels it's better to maintain +# full compability with git. In case git ever changes its licensing terms, +# this software will most likely follow suit. [ -n "$VCSH_DEBUG" ] && set -vx [ -z "$XDG_CONFIG_HOME" ] && XDG_CONFIG_HOME="$HOME/.config" @@ -134,7 +139,7 @@ init() { list() { for repo in "$VCSH_REPO_D"/*.git; do - [ -r "$repo" ] && echo $(basename "$repo" .git) + [ -d "$repo" ] && [ -r "$repo" ] && echo $(basename "$repo" .git) done }