aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Zaman <jason@perfinion.com>2014-12-08 17:30:47 +0400
committerMichał Górny <mgorny@gentoo.org>2019-04-09 13:05:55 +0200
commit4d6efbc4fb0057eaec78964b5b27b129fcc0454f (patch)
treea3fd40576a9d62e4b97db6a1f8f3f3d66067304c
parentDisallow metadata in the repo (diff)
downloadgithooks-4d6efbc4fb0057eaec78964b5b27b129fcc0454f.tar.gz
githooks-4d6efbc4fb0057eaec78964b5b27b129fcc0454f.tar.bz2
githooks-4d6efbc4fb0057eaec78964b5b27b129fcc0454f.zip
Description is handled by gitolite, not needed in the hook
-rwxr-xr-xlocal/update9
1 files changed, 0 insertions, 9 deletions
diff --git a/local/update b/local/update
index 054db25..b81c6e5 100755
--- a/local/update
+++ b/local/update
@@ -20,15 +20,6 @@ if [ -z "${refname}" -o -z "${oldrev}" -o -z "${newrev}" ]; then
exit 1
fi
-# check for no description
-projectdesc=$(sed -e '1q' "${GIT_DIR}/description")
-case ${projectdesc} in
- "Unnamed repository"* | "")
- echo "*** Project description file hasn't been set" >&2
- exit 1
- ;;
-esac
-
# --- Check types
# if $newrev is 0000...0000, it's a commit to delete a ref.
zero="0000000000000000000000000000000000000000"