commit 042417ceb9dac825b02a631085bcdf62c85f5b27 parent cd9cdfbb41679c16dffc97c83fdc17c7e0a79842 Author: Jaromil <jaromil@dyne.org> Date: Wed, 30 Apr 2014 14:26:21 +0200 back-compat with older git (fix issue #1) Diffstat:
M | bin/gitzone | | | 5 | ++++- |
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/bin/gitzone b/bin/gitzone @@ -306,7 +306,10 @@ sub pre_receive { save_list_file; # save new commits in a new branch - git 'checkout -B new'; + git 'branch -f []'; + git 'checkout'; + # was: git 'checkout -B new'; + # removed for back-compat with old git } sub pre_commit {