git-gui: Refactor reponame computation.
authorShawn O. Pearce <spearce@spearce.org>
Sun, 21 Jan 2007 02:36:21 +0000 (21:36 -0500)
committerShawn O. Pearce <spearce@spearce.org>
Sun, 21 Jan 2007 07:54:20 +0000 (02:54 -0500)
commit16d18b853b91e66219a26130c0485914c2969389
tree9e1e9410f75facf1c0c5080ef42db98725e536ac
parent8ff487c737fe7a611da03c20f08888fb7f3a3550
git-gui: Refactor reponame computation.

We use reponame in a number of locations, and every time its always the
same value.  Instead of computing this multiple times with code that was
copied and pasted around we can compute it once immediately after the
global gitdir has been computed and set.

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