Index: trunk/scripts/git-hooks/sub/update
===================================================================
--- trunk/scripts/git-hooks/sub/update	(revision 2502)
+++ trunk/scripts/git-hooks/sub/update	(revision 2503)
@@ -22,6 +22,8 @@
 
 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
         ;;
