diff options
author | Johannes Sixt <j6t@kdbg.org> | 2025-05-04 20:26:11 +0200 |
---|---|---|
committer | Taylor Blau <me@ttaylorr.com> | 2025-05-23 17:04:24 -0400 |
commit | 99f7bc1af65fabab907bf35e645241f714e7386e (patch) | |
tree | a8924f8deb0d5462d3391d57c814ee370352c6e5 /git-gui/lib/commit.tcl | |
parent | 60b0ba0a04c413b716dc33f83285ede26e820668 (diff) |
git-gui: introduce function git_redir for git calls with redirections
Proc git invokes git and collects all output, which is it returns.
We are going to treat command arguments and redirections differently to
avoid passing arguments that look like redirections to the command
accidentally. A few invocations also pass redirection operators as
command arguments deliberately. Rewrite these cases to use a new
function git_redir that takes two lists, one for the regular command
arguments and one for the redirection operations.
Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Diffstat (limited to 'git-gui/lib/commit.tcl')
0 files changed, 0 insertions, 0 deletions