]> git.ipfire.org Git - thirdparty/git.git/commit
gitk: sanitize 'open' arguments: simple commands with redirections
authorJohannes Sixt <j6t@kdbg.org>
Thu, 20 Mar 2025 19:00:57 +0000 (20:00 +0100)
committerTaylor Blau <me@ttaylorr.com>
Fri, 23 May 2025 21:03:30 +0000 (17:03 -0400)
commit42a64b41a7a3d01a62f0f34f75bee2bbd00be46f
treeba9b3de4b21a77d5e3a63205690c4bb2092f2d42
parentfe32bf31b8d5dff523543700ab76ecbf423a6d6f
gitk: sanitize 'open' arguments: simple commands with redirections

As in the previous commits, introduce a function that sanitizes
arguments intended for the process and in addition allows to pass
redirections, which are passed to Tcl's 'open' verbatim.

Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Taylor Blau <me@ttaylorr.com>
gitk