]> git.ipfire.org Git - thirdparty/git.git/commit
git-gui: remove option --stderr from git_read
authorJohannes Sixt <j6t@kdbg.org>
Sat, 3 May 2025 09:52:35 +0000 (11:52 +0200)
committerTaylor Blau <me@ttaylorr.com>
Fri, 23 May 2025 21:04:23 +0000 (17:04 -0400)
commit23ba43256b421c322af9b99150fb324575175bb0
treea4508582e1103a60be1c426c5e88a983981fa8f3
parente883ceb1222c29f8a2325e1b4c2778b5259a3725
git-gui: remove option --stderr from git_read

Some callers of git_read want to redirect stderr of the invoked command
to stdout.  The function offers option --stderr for this purpose.
However, the option only appends 2>@1 to the commands.  The callers can
do that themselves. In lib/console.tcl we even have a caller that
already knew implictly what --stderr does behind the scenes.

This is a preparation for a later change where we want to make git_read
non-variadic. Then it cannot have optional leading arguments.

Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Taylor Blau <me@ttaylorr.com>
git-gui.sh
lib/checkout_op.tcl
lib/choose_repository.tcl
lib/console.tcl
lib/merge.tcl