summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortg(x) <*@tg-x.net>2011-02-13 14:37:58 (GMT)
committer tg(x) <*@tg-x.net>2013-06-05 15:58:40 (GMT)
commit0dcea774e97c3fa6b92a4ed6c588d39fa282371f (patch)
treedbe002a3197a2573250938600bb894341b35d5be
parent128b564c80228b330a342714076718aedba601f3 (diff)
-
-rwxr-xr-xhooks/post-receive3
-rwxr-xr-xhooks/pre-receive3
2 files changed, 4 insertions, 2 deletions
diff --git a/hooks/post-receive b/hooks/post-receive
index d6f5de0..e2f4abb 100755
--- a/hooks/post-receive
+++ b/hooks/post-receive
@@ -1,5 +1,6 @@
#!/bin/sh
+#(date; echo post-receive) >> ~/gitzone.log
if [ -f .gitzone-list ]; then
- /usr/bin/gitzone /etc/gitzone.conf post-receive
+ /usr/bin/gitzone /etc/gitzone.conf post-receive # 2>&1 | tee -a ~/gitzone.log
fi
diff --git a/hooks/pre-receive b/hooks/pre-receive
index c31ff47..ad7cbef 100755
--- a/hooks/pre-receive
+++ b/hooks/pre-receive
@@ -1,3 +1,4 @@
#!/bin/sh
-/usr/bin/gitzone /etc/gitzone.conf pre-receive
+#(date; echo pre-receive) >> ~/gitzone.log
+/usr/bin/gitzone /etc/gitzone.conf pre-receive # 2>&1 | tee -a ~/gitzone.log