Re: [BUG] git gui and my ö
From: Uwe Kleine-König <hidden>
Date: 2016-06-15 22:43:06
Hello Shawn, Shawn O. Pearce wrote:
"Shawn O. Pearce" [off-list ref] wrote:quoted
Uwe Kleine-K??nig [off-list ref] wrote:quoted
commit-tree failed: Warning: commit message does not conform to UTF-8.This was starting to bug me, so I went off and found it. OK, well the encoding error anyway. git-gui incorrectly claimed commit-tree failed when it didn't. But besides the point, this is the bad line:quoted
1294 fconfigure $msg_wt -encoding $enc -translation binaryI have had trouble in the past with trying to use that magic -encoding flag on fconfigure to get Tcl's file channels to perform encoding work for me. Seems it doesn't work right or something... so other parts of git-gui (e.g. the filename handling parts) perform the convertfrom/convertto logic on their own... but the commit message handling parts didn't. They do now (git gui 0.6.5-11-gf20db5f). Can you please test my current master branch and see if that fixes things for you? repo.or.cz, git-gui.git...
Works fine. I pulled in your changes[1] and it worked with one test case. (I amended the merge and added a sign-off. ;-) Best regards and thanks Uwe [1] Thanks to gitster in #git to explain how to do it. It's as easy as: git pull -s subtree git://.../git-gui.git master -- Uwe Kleine-König http://www.google.com/search?q=gravity+on+earth%3D