author | Andy Parkins <andyparkins@gmail.com> | |
Tue, 20 Mar 2007 10:58:32 +0000 (10:58 +0000) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Thu, 22 Mar 2007 10:02:31 +0000 (03:02 -0700) | ||
commit | 0a0d080bdc68d2bd4a1824b08123690c8065badb | |
tree | f21966202d1a541dfeb5847715941e5162b07d67 | tree | snapshot |
parent | 85295a52e683a24d8404c6989d8b8f134a0ea684 | commit | diff |
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>
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 | diff | blob | history |