]> 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:

Add pre-commit hook into tools/
authorRichard Hartmann <richih@debian.org>
Wed, 11 Feb 2015 18:51:50 +0000 (19:51 +0100)
committerRichard Hartmann <richih@debian.org>
Wed, 11 Feb 2015 18:51:50 +0000 (19:51 +0100)
tools/hooks/pre-commit [new file with mode: 0755]

diff --git a/tools/hooks/pre-commit b/tools/hooks/pre-commit
new file mode 100755 (executable)
index 0000000..ddb0550
--- /dev/null
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+# Unfortunately, Git decided to set those two during pre-commit
+unset GIT_DIR
+unset GIT_INDEX_FILE
+
+prove