diff options
author | Łukasz Stelmach <l.stelmach@samsung.com> | 2017-12-05 15:23:26 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-12-05 09:14:45 -0800 |
commit | 331450f18a7fd298ddd6b85cc5e8ed9dba09f9da (patch) | |
tree | 86b1af12827cd89d9ba3246ed0f95b5aa63f1256 /trace.c | |
parent | 5ab72271e16ac23c269f5019a74a7b1d65170e47 (diff) | |
download | git-331450f18a7fd298ddd6b85cc5e8ed9dba09f9da.tar.gz git-331450f18a7fd298ddd6b85cc5e8ed9dba09f9da.tar.xz |
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 'trace.c')
0 files changed, 0 insertions, 0 deletions