]> git.madduck.net Git - code/vcsh.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

vcsh: Add git version information on all debug runs
authorRichard Hartmann <richih@debian.org>
Thu, 19 Sep 2013 21:45:51 +0000 (23:45 +0200)
committerRichard Hartmann <richih@debian.org>
Thu, 19 Sep 2013 21:45:51 +0000 (23:45 +0200)
vcsh

diff --git a/vcsh b/vcsh
index ab58f3a31797045178b64f782291197b3db50362..3cea66646dc3ec60a87881b03ca1d94c4a9605cb 100755 (executable)
--- 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