Code

send-email: Refuse to send cover-letter template subject
authorThomas Rast <trast@student.ethz.ch>
Mon, 8 Jun 2009 21:34:12 +0000 (23:34 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 8 Sep 2010 16:11:15 +0000 (09:11 -0700)
commita03bc5b6ad4ada4eb0669289429a9bc21ff6cdb0
tree15903482a90fc4f8a1e773c491d995f223b8ee23
parent04df568be53c42d07aea393effc7c5653f245d9a
send-email: Refuse to send cover-letter template subject

Every so often, someone sends out an unedited cover-letter template.
Add a simple check to send-email that refuses to send if the subject
contains "*** SUBJECT HERE ***", with an option --force to override.

Signed-off-by: Thomas Rast <trast@student.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-send-email.perl
t/t9001-send-email.sh