OSDN Git Service

git-gui: Refactor 'exec git subcmd' idiom.
authorShawn O. Pearce <spearce@spearce.org>
Tue, 13 Feb 2007 03:48:56 +0000 (22:48 -0500)
committerShawn O. Pearce <spearce@spearce.org>
Wed, 14 Feb 2007 02:32:52 +0000 (21:32 -0500)
commit81347223066fee64997cbb731925bc8c1abd35d7
treeeaf76bd45f8f194ebb88355dde03f98a763f4651
parent022fef30facd6865d99b0cfceead7de3d60fe7de
git-gui: Refactor 'exec git subcmd' idiom.

As we frequently need to execute a Git subcommand and obtain
its returned output we are making heavy use of [exec git foo]
to run foo.  As I'm concerned about possibly needing to carry
environment data through a shell on Cygwin for at least some
subcommands, I'm migrating all current calls to a new git
proc.  This actually makes the code look cleaner too, as
we aren't saying 'exec git' everywhere.

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