Code

git-gui: Delay searching for 'nice' until its really asked for
authorShawn O. Pearce <spearce@spearce.org>
Wed, 18 Jul 2007 02:31:16 +0000 (22:31 -0400)
committerShawn O. Pearce <spearce@spearce.org>
Wed, 18 Jul 2007 02:31:16 +0000 (22:31 -0400)
commit6f62b4f782c51bdf0dfdef3da5b5049c9006ff70
tree8cfe48ba01cc06cbbd4c26509000611a4b27908f
parent91464dfb102d6143182d8f312b68486e9dceb103
git-gui: Delay searching for 'nice' until its really asked for

Not every caller of 'git' or 'git_pipe' wants to use nice to lower the
priority of the process its executing.  In many cases we may never use
the nice process to launch git.  So we can avoid searching our $PATH
to locate a suitable nice if we'll never actually use it.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
git-gui.sh