t- - gitzone - git-based zone management tool for static and dynamic domains
HTML git clone https://git.parazyd.org/gitzone
DIR Log
DIR Files
DIR Refs
---
DIR commit 0dcea774e97c3fa6b92a4ed6c588d39fa282371f
DIR parent 128b564c80228b330a342714076718aedba601f3
HTML Author: tg(x) <*@tg-x.net>
Date: Sun, 13 Feb 2011 15:37:58 +0100
-
Diffstat:
M hooks/post-receive | 3 ++-
M hooks/pre-receive | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
---
DIR diff --git a/hooks/post-receive b/hooks/post-receive
t@@ -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
DIR diff --git a/hooks/pre-receive b/hooks/pre-receive
t@@ -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