From: Richard Hartmann Date: Thu, 19 Sep 2013 21:36:58 +0000 (+0200) Subject: vcsh: Make `vcsh version` print vcsh and git version information X-Git-Url: https://git.madduck.net/code/vcsh.git/commitdiff_plain/fd04d0d999f91f024e7abbfe623aa72cbeb95a46?ds=inline;hp=-c vcsh: Make `vcsh version` print vcsh and git version information --- fd04d0d999f91f024e7abbfe623aa72cbeb95a46 diff --git a/vcsh b/vcsh index 508c087..1fc78e2 100755 --- a/vcsh +++ b/vcsh @@ -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