tbranch del fix - 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 9fc35d4279cf15380e06f3ed6b321017016a025c
DIR parent af4c02bcec122ac7c02026934ec2230d8ddaae84
HTML Author: tg(x) <*@tg-x.net>
Date: Mon, 14 Feb 2011 20:29:22 +0100
branch del fix
Diffstat:
M bin/gitzone | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/bin/gitzone b/bin/gitzone
t@@ -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';
}