git/list[1] front-page[2] threads[3] people[4] search[5] about
 

How do I make git-format-patch reject 8-bit encodings?

From
TTTimur Tabi <timur@freescale.com>
Date
Feb 21, 2011, 22:11 UTC
Message-ID
<4D62E315.7040506@freescale.com>

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?

-- 
Timur Tabi
Linux kernel developer at Freescale
Next: Junio C Hamano
Message 1 of 5 in “How do I make git-format-patch reject 8-bit encodings?”
  1. Timur TabiFeb 21, 2011
  2. Junio C HamanoFeb 22, 2011
  3. Tabi Timur-B04825Feb 22, 2011
  4. Jeff KingFeb 22, 2011
  5. Timur TabiFeb 22, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.