From: Robin Rosenberg Date: Sat, 24 Jan 2009 06:37:30 GMT Subject: Re: [PATCH (GIT-GUI BUG)] git-gui: Fix post-commit status with subject in non-locale encoding. Message-ID: <200901240737.31092.robin.rosenberg@gmail.com> In-Reply-To: <200901240018.13457.angavrilov@gmail.com> fredag 23 januari 2009 22:18:13 skrev Alexander Gavrilov: > As pointed out in msysgit bug #181, when a non-locale encoding > is used for commits, post-commit status messages display the > subject incorrectly. It happens because the file handle is > not properly configured before the subject is read back. > > This patch fixes it by factoring out the code that is > used to setup the output handle into a separate function, > and calling it from the reading code. Ack. Works fine now. Thanks. -- robin