summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortg(x) <*@tg-x.net>2011-02-14 19:29:22 (GMT)
committer tg(x) <*@tg-x.net>2013-06-05 15:58:41 (GMT)
commit9fc35d4279cf15380e06f3ed6b321017016a025c (patch)
tree2a2cfeba18e9d0836cfb34acb2713638c8b72374
parentaf4c02bcec122ac7c02026934ec2230d8ddaae84 (diff)
branch del fix
-rwxr-xr-xbin/gitzone2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/gitzone b/bin/gitzone
index 8e3c18a..830ced1 100755
--- a/bin/gitzone
+++ b/bin/gitzone
@@ -260,7 +260,7 @@ sub pre_receive {
}
# save new commits in a new branch
- git 'branch -D new';
+ git 'branch -D new', 0, -1;
git 'checkout -b new';
}