Re: [PATCH] Reencode committer info to utf-8 before formatting mail header
- From
Junio C Hamano <junkio@cox.net>
- Date
- Jan 13, 2007, 17:54 UTC
- Message-ID
- <7vd55ilsm7.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <200701131323.53121.robin.rosenberg.lists@dewire.com>
Robin Rosenberg <robin.rosenberg.lists@dewire.com> writes:
Show 7 quoted lines
> lördag 13 januari 2007 02:43 skrev Junio C Hamano: >> Side note. The previous patch does not help if your commit were >> made in non UTF-8 with not too recent git; the code assumes that >> commit messages without the new "encoding" headers are in UTF-8. > > Wasn't there a repository option, "commitencoding"? I can't see it being > used here.
commitencoding is about what encoding the commit newly created in this repository right now should claim to have -- in other words what is fed to commit-tree.
We are talking about examining existing commit that might have come from another repository or created some time ago when the repository configuration was set differently.