summaryrefslogtreecommitdiff
path: root/.git_copy/hooks/applypatch-msg.sample
diff options
context:
space:
mode:
authorJovina2011-05-09 16:29:40 +0530
committerJovina2011-05-09 16:29:40 +0530
commit1a46f45da618235f0ae3506a2a2f4ee742053466 (patch)
tree2adc302168719b84dfbda0ad9f8f2eba9d5df240 /.git_copy/hooks/applypatch-msg.sample
parent45d79639e61ca369c45b77a7b3751e5ddf05bbb2 (diff)
downloadst-scripts-1a46f45da618235f0ae3506a2a2f4ee742053466.tar.gz
st-scripts-1a46f45da618235f0ae3506a2a2f4ee742053466.tar.bz2
st-scripts-1a46f45da618235f0ae3506a2a2f4ee742053466.zip
Modified the script and slides for other types of plots.
Diffstat (limited to '.git_copy/hooks/applypatch-msg.sample')
-rwxr-xr-x.git_copy/hooks/applypatch-msg.sample15
1 files changed, 15 insertions, 0 deletions
diff --git a/.git_copy/hooks/applypatch-msg.sample b/.git_copy/hooks/applypatch-msg.sample
new file mode 100755
index 0000000..8b2a2fe
--- /dev/null
+++ b/.git_copy/hooks/applypatch-msg.sample
@@ -0,0 +1,15 @@
+#!/bin/sh
+#
+# An example hook script to check the commit log message taken by
+# applypatch from an e-mail message.
+#
+# The hook should exit with non-zero status after issuing an
+# appropriate message if it wants to stop the commit. The hook is
+# allowed to edit the commit message file.
+#
+# To enable this hook, rename this file to "applypatch-msg".
+
+. git-sh-setup
+test -x "$GIT_DIR/hooks/commit-msg" &&
+ exec "$GIT_DIR/hooks/commit-msg" ${1+"$@"}
+: