git-gui: Reorganized startup procedure to ensure gitdir is right.
authorShawn O. Pearce <spearce@spearce.org>
Tue, 7 Nov 2006 05:20:56 +0000 (00:20 -0500)
committerShawn O. Pearce <spearce@spearce.org>
Tue, 7 Nov 2006 08:05:18 +0000 (03:05 -0500)
commitb8ce6f0ec8a275bf9e32ff7666d00a88154fd50b
treefc7877caa6f08c717aec3d307e378033673f303d
parentcc4b1c0213ad2d99121135125b8c2ea630bebe3d
git-gui: Reorganized startup procedure to ensure gitdir is right.

Because we cd after getting the cdup value from Git we can't try
to get the gitdir until after we perform the cd, as usually the
gitdir is relative to the current working directory.

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