Timur Tabi <timur@xxxxxxxxxxxxx> writes: > Is there any way to get git-format-patch to refuse to create a patch that has > 8-bit characters in it? That is, if a given commit somehow has an 8-bit > character (e.g. utf-encoded), then I want git-format-patch to refuse to create a > patch for that commit. > > Also, how can I do the same thing with git-send-email? That is, if the patch > requires an 8-bit encoding, how do I get it to refuse to send the patch? Feels like an X-Y problem, but wouldn't it be an option to let format-patch write into individual files, check these files and reject ones that are not 8-bit clean, and then send the result out via send-email? You should be proofreading the format-patch output to catch and fix typos before hading them to send-email anyway, so the above would be the natural thing to do. -- 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