projects
/
invirt/scripts/git-hooks.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
First crack at the invirtibuilder.
[invirt/scripts/git-hooks.git]
/
sub
/
update
diff --git
a/sub/update
b/sub/update
index
11adb92
..
96347fe
100755
(executable)
--- a/
sub/update
+++ b/
sub/update
@@
-21,8
+21,10
@@
fi
# --- Disallow pushing tags
case "$ref" in
- refs/tags/*)
- echo "*** Pushing tags to this repository is not allowed" >&2
+ refs/heads/*)
+ ;;
+ *)
+ echo "*** Pushing non-branches to this repository is not allowed" >&2
exit 1
;;
esac