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

vcsh: Make `vcsh version` print vcsh and git version information

parent 09f129a2
No related branches found
No related tags found
No related merge requests found
......@@ -395,6 +395,7 @@ if [ "$1" = 'clone' ]; then
export GIT_DIR="$VCSH_REPO_D/$VCSH_REPO_NAME.git"
elif [ "$1" = 'version' ]; then
echo "$SELF $VERSION"
git version
exit
elif [ "$1" = 'which' ]; then
[ -z "$2" ] && fatal "$1: please specify a filename" 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment