X-Git-Url: http://xvm.mit.edu/gitweb/invirt/scripts/git-hooks.git/blobdiff_plain/0c9e8f460f69b8a4c60b22528665fc915872c93e..HEAD:/super/update?ds=sidebyside diff --git a/super/update b/super/update index 1e926e8..3e74b23 100755 --- a/super/update +++ b/super/update @@ -13,14 +13,14 @@ if [ -z "$GIT_DIR" ]; then exit 1 fi -if [ -z "$ref" -o -z "$oldrev" -o -z "$newrev" ]; then +if [ -z "$ref" ] || [ -z "$oldrev" ] || [ -z "$newrev" ]; then echo "Usage: $0 " >&2 exit 1 fi # --- Disallow all pushes -echo "*** Pushing to the superrepo is not allowed" >&2 +echo "*** Pushing to the superproject is not allowed" >&2 echo "***" >&2 -echo "*** If you would like to update the superrepo, use remctl" >&2 +echo "*** If you would like to update the superproject, use remctl" >&2 exit 1