summaryrefslogtreecommitdiff
path: root/git-gui/lib
diff options
context:
space:
mode:
authorŁukasz Stelmach <l.stelmach@samsung.com>2017-12-05 14:23:26 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-12-05 17:14:45 (GMT)
commit331450f18a7fd298ddd6b85cc5e8ed9dba09f9da (patch)
tree86b1af12827cd89d9ba3246ed0f95b5aa63f1256 /git-gui/lib
parent5ab72271e16ac23c269f5019a74a7b1d65170e47 (diff)
downloadgit-331450f18a7fd298ddd6b85cc5e8ed9dba09f9da.zip
git-331450f18a7fd298ddd6b85cc5e8ed9dba09f9da.tar.gz
git-331450f18a7fd298ddd6b85cc5e8ed9dba09f9da.tar.bz2
git-gui: prevent double UTF-8 conversion
Convert author's name and e-mail address from the UTF-8 (or any other) encoding in load_last_commit function the same way commit message is converted. Amending commits in git-gui without such conversion breaks UTF-8 strings. For example, "\305\201ukasz" (as written by git cat-file) becomes "\303\205\302\201ukasz" in an amended commit. Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-gui/lib')
0 files changed, 0 insertions, 0 deletions