summaryrefslogtreecommitdiff
path: root/git-gui/lib/commit.tcl
diff options
context:
space:
mode:
authorAlexander Gavrilov <angavrilov@gmail.com>2008-09-18 01:07:32 +0400
committerShawn O. Pearce <spearce@spearce.org>2008-09-24 12:48:32 -0700
commit72e6b002021e45255f568fc0c885d82de75ae935 (patch)
treefb76f3bbe6e8006a6aca0ee59d6a2f1b51247904 /git-gui/lib/commit.tcl
parent696235c6c1c85085fd55ff849663d44c51464e69 (diff)
downloadgit-72e6b002021e45255f568fc0c885d82de75ae935.tar.gz
git-gui: Cleanup handling of the default encoding.
- Make diffs and blame default to the system (locale) encoding instead of hard-coding UTF-8. - Add a gui.encoding option to allow overriding it. - gitattributes still have the final word. The rationale for this is Windows support: 1) Windows people are accustomed to using legacy encodings for text files. For many of them defaulting to utf-8 will be counter-intuitive. 2) Windows doesn't support utf-8 locales, and switching the system encoding is a real pain. Thus the option. This patch also adds proper encoding conversion to Apply Hunk/Line. Signed-off-by: Alexander Gavrilov <angavrilov@gmail.com> Tested-by: Johannes Sixt <johannes.sixt@telecom.at> Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'git-gui/lib/commit.tcl')
0 files changed, 0 insertions, 0 deletions