From: Richard Hartmann Date: Thu, 19 Sep 2013 21:45:51 +0000 (+0200) Subject: vcsh: Add git version information on all debug runs X-Git-Url: https://git.madduck.net/code/vcsh.git/commitdiff_plain/eb54df6a6239a5401ae7af2edc13410a2f2c9cba?hp=-c vcsh: Add git version information on all debug runs --- eb54df6a6239a5401ae7af2edc13410a2f2c9cba diff --git a/vcsh b/vcsh index ab58f3a..3cea666 100755 --- a/vcsh +++ b/vcsh @@ -390,6 +390,8 @@ write_gitignore() { fatal "could not move '$tempfile' to '$VCSH_BASE/.gitignore.d/$VCSH_REPO_NAME'" 53 } +debug `git version` + if [ ! "x$VCSH_GITIGNORE" = 'xexact' ] && [ ! "x$VCSH_GITIGNORE" = 'xnone' ] && [ ! "x$VCSH_GITIGNORE" = 'xrecursive' ]; then fatal "'\$VCSH_GITIGNORE' must equal 'exact', 'none', or 'recursive'" 1 fi