diff options
author | Mark Levedahl <mlevedahl@gmail.com> | 2025-04-06 11:14:35 -0400 |
---|---|---|
committer | Mark Levedahl <mlevedahl@gmail.com> | 2025-07-21 18:22:33 -0400 |
commit | eaca720ecd4368943657c470d5ce0146804d09a7 (patch) | |
tree | 16e0a38a42a904b59acb94ce22a7051e895524b3 /lib/diff.tcl | |
parent | 6dfdf7bdcdcf735787e3d3dfcf3415fea1a81f8a (diff) |
git-gui: remove procs gitexec and _git_cmd
gitexec looks up and caches the method to execute git subcommands using
the long deprecated dashed form if found in $(git--exec-path). But,
git_read and git_write now use the dashless form, by-passing gitexec.
This leaves two remaining uses of gitexec: one during startup to define
use of an ssh_key helper, and one in the about dialog box. These are
neither performance critical nor likely to be called more than once, so
do not justify an otherwise unused cacheing system.
Let's change those two uses, making gitexec unused. This allows removing
gitexec and _git_cmd.
Signed-off-by: Mark Levedahl <mlevedahl@gmail.com>
Diffstat (limited to 'lib/diff.tcl')
0 files changed, 0 insertions, 0 deletions