git/lib
Mark Levedahl 07714e220b git-gui: do not mix -translation binary and -encoding
git-gui has many instances of '-translation binary' and '-encoding
$SOMETHING' on the same channel.  As eofchar is always null given a
prior commit, the net effect of having '-translation binary' in such
configuration is only to change how text line endings are handled.

For cases where the channel is opened to be consumed via gets, the eol
translation is irrelevant because Tcl's gets is documented to recognize
any of \n, \r, and \r\n as a line ending.  So, keep only the '-encoding
$SOMETHING' configuration in these cases, making the configuration more
clear.

Signed-off-by: Mark Levedahl <mlevedahl@gmail.com>
2025-07-22 12:32:58 -04:00
..
about.tcl Merge branch 'ml/abandon-old-versions' 2025-07-22 17:37:33 +02:00
blame.tcl git-gui: replace encoding binary with iso8859-1 2025-07-22 12:32:58 -04:00
branch.tcl git-gui: do not mix -translation binary and -encoding 2025-07-22 12:32:58 -04:00
branch_checkout.tcl git-gui: remove non-ttk code 2025-07-21 11:59:21 -04:00
branch_create.tcl git-gui: remove non-ttk code 2025-07-21 11:59:21 -04:00
branch_delete.tcl git-gui: remove non-ttk code 2025-07-21 11:59:21 -04:00
branch_rename.tcl git-gui: remove non-ttk code 2025-07-21 11:59:21 -04:00
browser.tcl git-gui: do not mix -translation binary and -encoding 2025-07-22 12:32:58 -04:00
checkout_op.tcl git-gui: assure -eofchar {} on all channels 2025-07-22 12:32:58 -04:00
choose_font.tcl git-gui: remove non-ttk code 2025-07-21 11:59:21 -04:00
choose_repository.tcl Merge branch 'ml/abandon-old-versions' 2025-07-22 17:37:33 +02:00
choose_rev.tcl git-gui: do not mix -translation binary and -encoding 2025-07-22 12:32:58 -04:00
chord.tcl git-gui: create a new namespace for chord script evaluation 2020-03-17 18:48:54 +05:30
class.tcl git-gui: remove non-ttk code 2025-07-21 11:59:21 -04:00
commit.tcl git-gui: replace encoding binary with iso8859-1 2025-07-22 12:32:58 -04:00
console.tcl git-gui: remove non-ttk code 2025-07-21 11:59:21 -04:00
database.tcl git-gui: remove non-ttk code 2025-07-21 11:59:21 -04:00
date.tcl git-gui: Localize commit/author dates when displaying them 2007-09-10 01:54:16 -04:00
diff.tcl git-gui: assure -eofchar {} on all channels 2025-07-22 12:32:58 -04:00
encoding.tcl doc: switch links to https 2024-05-05 16:49:00 +02:00
error.tcl git-gui: remove non-ttk code 2025-07-21 11:59:21 -04:00
git-gui.ico git-gui: Improve the application icon on Windows. 2007-12-02 23:05:10 -05:00
index.tcl git-gui: translation binary defines iso8859-1 2025-07-22 12:32:58 -04:00
line.tcl git-gui: remove non-ttk code 2025-07-21 11:59:21 -04:00
logo.tcl git-gui: Refactor Henrik Nyh's logo into its own procedure 2007-10-10 01:12:15 -04:00
merge.tcl Merge branch 'ml/abandon-old-versions' 2025-07-22 17:37:33 +02:00
mergetool.tcl git-gui: translation binary defines iso8859-1 2025-07-22 12:32:58 -04:00
meson.build git-gui: wire up support for the Meson build system 2025-05-13 08:48:09 +02:00
option.tcl git-gui: remove non-ttk code 2025-07-21 11:59:21 -04:00
remote.tcl git-gui: git-remote is always available 2025-07-18 23:48:06 -04:00
remote_add.tcl git-gui: remove non-ttk code 2025-07-21 11:59:21 -04:00
remote_branch_delete.tcl Merge branch 'ml/tcl86' 2025-07-22 17:34:31 +02:00
search.tcl git-gui: remove non-ttk code 2025-07-21 11:59:21 -04:00
shortcut.tcl Merge branch 'ml/replace-auto-execok' into js/fix-open-exec 2025-05-23 17:04:27 -04:00
spellcheck.tcl git-gui: assure -eofchar {} on all channels 2025-07-22 12:32:58 -04:00
sshkey.tcl git-gui: remove non-ttk code 2025-07-21 11:59:21 -04:00
status_bar.tcl git-gui: remove non-ttk code 2025-07-21 11:59:21 -04:00
themed.tcl git-gui: remove non-ttk code 2025-07-21 11:59:21 -04:00
tools.tcl Merge branch 'ml/replace-auto-execok' into js/fix-open-exec 2025-05-23 17:04:27 -04:00
tools_dlg.tcl git-gui: remove non-ttk code 2025-07-21 11:59:21 -04:00
transport.tcl git-gui: remove non-ttk code 2025-07-21 11:59:21 -04:00
win32.tcl git-gui: sanitize 'exec' arguments: simple cases 2025-05-23 17:04:23 -04:00
win32_shortcut.js git-gui: Use proper Windows shortcuts instead of bat files 2007-10-12 23:07:58 -04:00