git-gui: Move feature option selection before GIT_DIR init
commitba7cc6609e5726ddc59158b60ac01f5fc9717ab3
authorShawn O. Pearce <spearce@spearce.org>
Wed, 18 Jul 2007 03:23:56 +0000 (17 23:23 -0400)
committerShawn O. Pearce <spearce@spearce.org>
Wed, 18 Jul 2007 03:23:56 +0000 (17 23:23 -0400)
tree237cf2ec7f986f32b24b91393586c40f00e4c76c
parent3972b987d373759ae4868012fe8133ca1e26ea20
git-gui: Move feature option selection before GIT_DIR init

By moving our feature option determination up before we look for GIT_DIR
we can make a decision about whether or not we need a working tree up
front, before we look for GIT_DIR.  A future change could then allow
us to start in a bare Git repository if we only need access to the ODB.

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