author | Shawn O. Pearce <spearce@spearce.org> | |
Mon, 9 Jul 2007 07:07:05 +0000 (03:07 -0400) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Mon, 9 Jul 2007 07:07:05 +0000 (03:07 -0400) | ||
commit | 74c4763c76a111809747652210962ad09896b74f | |
tree | 9094f1e0c23d07a1d816521af342e6070bbbe8e9 | tree | snapshot |
parent | c136f2b8b9eaac7a702799de25648b74ef12618a | commit | diff |
git-gui: Teach console widget to use git_read
Now that we are pretty strict about setting up own absolute paths to
any git helper (saving a marginal runtime cost to resolve the tool)
we can do the same in our console widget by making sure all console
execs go through git_read if they are a git subcommand, and if not
make sure they at least try to use the Tcl 2>@1 IO redirection if
possible, as it should be faster than |& cat.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Now that we are pretty strict about setting up own absolute paths to
any git helper (saving a marginal runtime cost to resolve the tool)
we can do the same in our console widget by making sure all console
execs go through git_read if they are a git subcommand, and if not
make sure they at least try to use the Tcl 2>@1 IO redirection if
possible, as it should be faster than |& cat.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
git-gui.sh | diff | blob | history | |
lib/console.tcl | diff | blob | history |