Junio C Hamano wrote: > Thomas Rast <trast@xxxxxxxxxxxxxxx> writes: > > > 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. > > Good ;-). More valuable to detect would be an empty "blurb" section > (i.e. not "unedited *** BLURB HERE ***" string, but literally, there is > nothing said in the message other than the shortstat). Wouldn't that be AI complete? As in, whatever regex (or similar) you might cook up could probably be matched by *someone's* style of patch descriptions, and then it suddenly becomes rather hard to tell them apart. I was really only trying to prevent the case where the user formatted several times in a row because he noticed mistakes in the patches, and forgot to re-edit the cover letter. At least that's how I once sent out one with a real description but the template subject. -- Thomas Rast trast@{inf,student}.ethz.ch -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html