author | Shawn O. Pearce <spearce@spearce.org> | |
Sun, 21 Jan 2007 02:36:21 +0000 (21:36 -0500) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Sun, 21 Jan 2007 07:54:20 +0000 (02:54 -0500) | ||
commit | 16d18b853b91e66219a26130c0485914c2969389 | |
tree | 9e1e9410f75facf1c0c5080ef42db98725e536ac | tree | snapshot |
parent | 8ff487c737fe7a611da03c20f08888fb7f3a3550 | commit | diff |
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>
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 | diff | blob | history |