summaryrefslogtreecommitdiff
path: root/pkgthing/git/hooks/post-receive.sample
diff options
context:
space:
mode:
authorLuke Shumaker <luke@HP-dv6426us-u904.(none)>2009-10-25 04:46:34 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-06-26 00:30:17 -0600
commit700c66f5dbd691559b54e23fd50a90e07135189f (patch)
tree6ac8282abbbcdc5e240993f259ac97b76a1df0c3 /pkgthing/git/hooks/post-receive.sample
parent1e17c83984fa9d8588c467e9528f3eb47f6aca43 (diff)
it seems the reason pkgthing was having problems it it had its own git repo
Diffstat (limited to 'pkgthing/git/hooks/post-receive.sample')
-rwxr-xr-xpkgthing/git/hooks/post-receive.sample15
1 files changed, 15 insertions, 0 deletions
diff --git a/pkgthing/git/hooks/post-receive.sample b/pkgthing/git/hooks/post-receive.sample
new file mode 100755
index 0000000..18d2e0f
--- /dev/null
+++ b/pkgthing/git/hooks/post-receive.sample
@@ -0,0 +1,15 @@
+#!/bin/sh
+#
+# An example hook script for the "post-receive" event.
+#
+# The "post-receive" script is run after receive-pack has accepted a pack
+# and the repository has been updated. It is passed arguments in through
+# stdin in the form
+# <oldrev> <newrev> <refname>
+# For example:
+# aa453216d1b3e49e7f6f98441fa56946ddcd6a20 68f7abf4e6f922807889f52bc043ecd31b79f814 refs/heads/master
+#
+# see contrib/hooks/ for an sample, or uncomment the next line and
+# rename the file to "post-receive".
+
+#. /usr/share/doc/git-core/contrib/hooks/post-receive-email