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