[tz] [PATCH] More spelling and accent fixes.

Paul Eggert eggert at cs.ucla.edu
Mon Jun 30 16:49:48 UTC 2014


Ian Abbott wrote:

> I think the lack of MIME headers in Paul's email is the reason why.

Yes, for some reason it's not working for me.  I had already noticed the 
problem, and filed a bug report here:

http://article.gmane.org/gmane.comp.version-control.git/252660

a few hours ago, but no response yet.  git format-patch never prompts 
me, and sometimes it labels the patch as UTF-8, sometimes it doesn't. 
For example:

$ git format-patch 5be5ee3dd453c5b575f6336eada9390fb205717a^!
0001-Mention-more-JavaScript-libraries.patch
$ git format-patch c25e1180cf3ec34d6c731d5ec16739d6d2ca8fc2^!
0001-More-spelling-and-accent-fixes.patch
$ grep UTF-8 0*
0001-Mention-more-JavaScript-libraries.patch: <meta 
http-equiv="Content-type" content='text/html; charset="UTF-8"'>

The first patch is labeled as UTF-8 even though the patch is entirely 
ASCII; the second patch is not labeled even though it contains non-ASCII 
characters!

My .gitconfig is simple:

[user]
	name = Paul Eggert
	email = eggert at cs.ucla.edu
[push]
	default = simple

It seems crazy to me that I would need to specify an obscure option to 
have 'git format-patch' do the right thing.  I run either git 1.9.3 
(Fedora 20) or git 1.9.1 (Ubuntu 14.04) and neither version documents 
sendmail.assume8bitEncoding or --8bit-encoding in its man pages. 
Perhaps the git folks have been hacking around in this area, and the 
natural default doesn't work any more?  Could you try the above shell 
commands and see what they output for you?  Also, which git version are 
you running?


More information about the tz mailing list