git-commit-vandalism/lib
Shawn O. Pearce 0b81261622 git-gui: Always use absolute path to all git executables
Rather than making the C library search for git every time we want
to execute it we now search for the main git wrapper at startup, do
symlink resolution, and then always use the absolute path that we
found to execute the binary later on.  This should save us some
cycles, especially on stat challenged systems like Cygwin/Win32.

While I was working on this change I also converted all of our
existing pipes ([open "| git ..."]) to use two new pipe wrapper
functions.  These functions take additional options like --nice
and --stderr which instructs Tcl to take special action, like
running the underlying git program through `nice` (if available)
or redirect stderr to stdout for capture in Tcl.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
2007-07-09 01:17:09 -04:00
..
blame.tcl git-gui: Always use absolute path to all git executables 2007-07-09 01:17:09 -04:00
branch_checkout.tcl git-gui: Allow double-click in checkout dialog to start checkout 2007-07-08 22:34:53 -04:00
branch_create.tcl git-gui: Refactor branch switch to support detached head 2007-07-08 22:34:46 -04:00
branch_delete.tcl git-gui: Refactor branch switch to support detached head 2007-07-08 22:34:46 -04:00
branch_rename.tcl git-gui: Refactor branch switch to support detached head 2007-07-08 22:34:46 -04:00
branch.tcl git-gui: Always use absolute path to all git executables 2007-07-09 01:17:09 -04:00
browser.tcl git-gui: Always use absolute path to all git executables 2007-07-09 01:17:09 -04:00
checkout_op.tcl git-gui: Always use absolute path to all git executables 2007-07-09 01:17:09 -04:00
choose_rev.tcl git-gui: Allow double-click in checkout dialog to start checkout 2007-07-08 22:34:53 -04:00
class.tcl git-gui: Teach class system to support [$this cmd] syntax 2007-07-08 21:12:45 -04:00
commit.tcl git-gui: Always use absolute path to all git executables 2007-07-09 01:17:09 -04:00
console.tcl git-gui: Refactor branch switch to support detached head 2007-07-08 22:34:46 -04:00
database.tcl git-gui: Always use absolute path to all git executables 2007-07-09 01:17:09 -04:00
diff.tcl git-gui: Always use absolute path to all git executables 2007-07-09 01:17:09 -04:00
error.tcl git-gui: Refactor into multiple files to save my sanity 2007-05-07 23:35:48 -04:00
index.tcl git-gui: Always use absolute path to all git executables 2007-07-09 01:17:09 -04:00
merge.tcl git-gui: Always use absolute path to all git executables 2007-07-09 01:17:09 -04:00
option.tcl git-gui: Always use absolute path to all git executables 2007-07-09 01:17:09 -04:00
remote_branch_delete.tcl git-gui: Always use absolute path to all git executables 2007-07-09 01:17:09 -04:00
remote.tcl git-gui: Always use absolute path to all git executables 2007-07-09 01:17:09 -04:00
shortcut.tcl git-gui: Ensure windows shortcuts always have .bat extension 2007-07-06 04:02:18 -04:00
status_bar.tcl git-gui: Show a progress meter for checking out files 2007-07-08 22:48:19 -04:00
transport.tcl git-gui: Refactor branch switch to support detached head 2007-07-08 22:34:46 -04:00