update-hook: abort early if the project description is unset
commit0a0d080bdc68d2bd4a1824b08123690c8065badb
authorAndy Parkins <andyparkins@gmail.com>
Tue, 20 Mar 2007 10:58:32 +0000 (20 10:58 +0000)
committerJunio C Hamano <junkio@cox.net>
Thu, 22 Mar 2007 10:02:31 +0000 (22 03:02 -0700)
treef21966202d1a541dfeb5847715941e5162b07d67
parent85295a52e683a24d8404c6989d8b8f134a0ea684
update-hook: abort early if the project description is unset

It was annoying to always have the first email from a project be from
the "Unnamed repository; edit this file to name it for gitweb project";
just because it's so easy to forget to set it.

This patch checks to see if the description file is still default (or
empty) and aborts if so - allowing you to fix the problem before sending
out silly looking emails to every developer.

Signed-off-by: Andy Parkins <andyparkins@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
templates/hooks--update