commit acf211293cdf73db33da13d41de2731c2043ce23 parent ebd0e9a62d5ca231cfe27db80d2ab2b059a762b2 Author: tg(x) <*@tg-x.net> Date: Sat, 5 Mar 2011 23:01:57 +0100 commit hook fixes Diffstat:
M | bin/gitzone | | | 2 | +- |
M | hooks/post-commit | | | 4 | +--- |
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/bin/gitzone b/bin/gitzone @@ -297,7 +297,7 @@ sub pre_commit { stash_pop; }; - git 'rev-parse --verify HEAD'; + git 'rev-parse --verify HEAD', 0, -1; check_what_changed($? ? undef : 'HEAD'); load_repo_config; process_files; diff --git a/hooks/post-commit b/hooks/post-commit @@ -1,5 +1,3 @@ #!/bin/sh -if [ -f .gitzone-list ]; then - /usr/bin/gitzone /etc/gitzone.conf post-commit -fi +/usr/bin/gitzone /etc/gitzone.conf post-commit