prati0100 / git-gui

Tcl/Tk based UI for Git. I am currently acting as the project's maintainer.
161 stars 87 forks source link

git gui: fix branch name encoding error on git gui #22

Closed kkato233 closed 4 years ago

kkato233 commented 4 years ago

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

kkato233 commented 4 years ago

create new pull request and send git mail list.

this patch replace https://github.com/prati0100/git-gui/pull/21

prati0100 commented 4 years ago

Merged as https://github.com/prati0100/git-gui/commit/d32e065a9179408db8d29354171258ca183b9443