diff --git a/bin/gitzone b/bin/gitzone index 2f355f5..fd5c676 100755 --- 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 {