tback-compat with older git (fix issue #1) - 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 042417ceb9dac825b02a631085bcdf62c85f5b27 DIR parent cd9cdfbb41679c16dffc97c83fdc17c7e0a79842 HTML 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(-) --- DIR diff --git a/bin/gitzone b/bin/gitzone t@@ -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 {