summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 635f4a3)
raw | patch | inline | side by side (parent: 635f4a3)
author | Gerrit Pape <pape@smarden.org> | |
Mon, 16 Apr 2007 08:30:42 +0000 (08:30 +0000) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Mon, 16 Apr 2007 08:35:33 +0000 (01:35 -0700) |
Signed-off-by: Gerrit Pape <pape@smarden.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
templates/hooks--update | patch | blob | history |
index 0ff03309e69aed6b506e333e087f23099ad80290..0dcb1adb132d5d127bc6c693bac1528cb567e517 100644 (file)
--- a/templates/hooks--update
+++ b/templates/hooks--update
allowunannotated=$(git-repo-config --bool hooks.allowunannotated)
# check for no description
+projectdesc=$(sed -e '1p' "$GIT_DIR/description")
if [ -z "$projectdesc" -o "$projectdesc" = "Unnamed repository; edit this file to name it for gitweb" ]; then
echo "*** Project description file hasn't been set" >&2
exit 1