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

Re: [PATCH 1/2] commit: reject invalid UTF-8 codepoints

From
brian m. carlson <sandals@crustytoothpaste.net>
Date
Jul 4, 2013, 00:17 UTC
Message-ID
<20130704001724.GQ862789@vauxhall.crustytoothpaste.net>
In-Reply-To
<7v7ghcl50r.fsf@alter.siamese.dyndns.org>
On Sat, Jun 29, 2013 at 07:13:40PM -0700, Junio C Hamano wrote:
Show 13 quoted lines
> "brian m. carlson" <sandals@crustytoothpaste.net> writes:
> > diff --git a/t/t3900/UTF-8-invalid.txt b/t/t3900/UTF-8-invalid.txt
> > new file mode 100644
> > index 0000000..343684d
> > --- /dev/null
> > +++ b/t/t3900/UTF-8-invalid.txt
> > @@ -0,0 +1,3 @@
> > +Commit message
> > +
> > +Invalid surrogate:???
> 
> I suspect that I did not receive what you intended to send.  Do you
> want to send this part as a binary patch perhaps?

git format-patch --binary seems to produce the exact same output as without the --binary option. Is there a different way I should be selecting the binary option?

-- 
brian m. carlson / brian with sandals: Houston, Texas, US
+1 832 623 2791 | http://www.crustytoothpaste.net/~bmc | My opinion only
OpenPGP: RSA v4 4096b: 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187
Previous: Junio C HamanoNext: Junio C Hamano
Message 5 of 7 in “commit: reject invalid UTF-8 codepoints”
  1. 1/2 commit: reject invalid UTF-8 codepointsbrian m. carlson, Jun 29, 2013
  2. Junio C HamanoJun 30, 2013
  3. brian m. carlsonJun 30, 2013
  4. Junio C HamanoJun 30, 2013
  5. brian m. carlsonJul 4, 2013
  6. Junio C HamanoJul 4, 2013
  7. Peter KreftingJul 1, 2013

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.