author | Shawn O. Pearce <spearce@spearce.org> | |
Thu, 19 Jul 2007 04:43:16 +0000 (00:43 -0400) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Thu, 19 Jul 2007 04:43:16 +0000 (00:43 -0400) | ||
commit | d36cd968378cd3e509434b1b9f43f1417fdba57e | |
tree | ba77a3cc080d2d1df4fb0ed6494a58da8b0b014f | tree | snapshot |
parent | a870ddc0997881d5e73c0ec4562f3521274c5960 | commit | diff |
git-gui: Avoid unnecessary global statements when possible
Running global takes slightly longer than just accessing the variable
via its package name, especially if the variable is just only once in
the procedure, or isn't even used at all in the procedure. So this is
a minor cleanup for some of our commonly invoked procedures.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Running global takes slightly longer than just accessing the variable
via its package name, especially if the variable is just only once in
the procedure, or isn't even used at all in the procedure. So this is
a minor cleanup for some of our commonly invoked procedures.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
git-gui.sh | diff | blob | history |