author | Alexander Gavrilov <angavrilov@gmail.com> | |
Wed, 17 Sep 2008 21:07:34 +0000 (01:07 +0400) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Wed, 24 Sep 2008 19:48:32 +0000 (12:48 -0700) | ||
commit | 3fe0162362f80262ed1965f19c1f57f298931c94 | |
tree | dab7c45bb8241268d946bb281d30f4384cbf7b46 | tree | snapshot |
parent | 50102c5687db83db48b9705e07de16d07cef7cd9 | commit | diff |
git-gui: Allow forcing display encoding for diffs using a submenu.
Add a submenu to allow dynamically changing the encoding to use
for diffs. Encoding settings are remembered while git-gui runs.
The rules are:
1) Encoding set for a specific file overrides gitattributes.
2) Last explicitly set value of the encoding overrides gui.encoding
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>
Add a submenu to allow dynamically changing the encoding to use
for diffs. Encoding settings are remembered while git-gui runs.
The rules are:
1) Encoding set for a specific file overrides gitattributes.
2) Last explicitly set value of the encoding overrides gui.encoding
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>
git-gui.sh | diff | blob | history | |
lib/diff.tcl | diff | blob | history | |
lib/encoding.tcl | diff | blob | history |