]> git.ipfire.org Git - thirdparty/git.git/commit
git gui: fix branch name encoding error
authorKazuhiro Kato <kato-k@ksysllc.co.jp>
Sat, 7 Dec 2019 00:29:09 +0000 (00:29 +0000)
committerPratyush Yadav <me@yadavpratyush.com>
Mon, 9 Dec 2019 21:13:55 +0000 (02:43 +0530)
commit39acfa3d224e4a125a3f72ef761ee2cbd24216c2
tree0cfdafcbcf61d0d587e18502426db5310c3c9b6a
parent276353004822918d1f45cfc36d0717b878fff600
git gui: fix branch name encoding error

After "git checkout -b '漢字'" to create a branch with UTF-8 character
in it, "git gui" shows the branch name incorrectly, as it forgets to
turn the bytes read from the "git for-each-ref" and read from "HEAD"
file into Unicode characters.

Signed-off-by: Kazuhiro Kato <kato-k@ksysllc.co.jp>
Signed-off-by: Pratyush Yadav <me@yadavpratyush.com>
git-gui.sh
lib/branch.tcl