summaryrefslogtreecommitdiff
path: root/git-gui/lib/commit.tcl
diff options
context:
space:
mode:
authorMartin von Zweigbergk <martin.von.zweigbergk@gmail.com>2011-04-04 22:14:17 -0400
committerPaul Mackerras <paulus@samba.org>2011-07-24 15:34:54 +1000
commitda616db5e56a735ab3028c33b19af5136420dcb9 (patch)
tree0a4e0043acd946a64729e7d4b1eb364ce519bee7 /git-gui/lib/commit.tcl
parent929f577e0a648dd1c90b92d8a3f6f1899f2fa0e2 (diff)
downloadgit-da616db5e56a735ab3028c33b19af5136420dcb9.tar.gz
gitk: Run 'git rev-parse --git-dir' only once
It seems like gitk has been setting the global variable 'gitdir' at startup since aa81d97 (gitk: Fix Update menu item, 2006-02-28). It should therefore no longer be necessary to call the procedure with the same name (more than once to set the global variable). Remove the other call sites and use the global variable instead. Signed-off-by: Martin von Zweigbergk <martin.von.zweigbergk@gmail.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'git-gui/lib/commit.tcl')
0 files changed, 0 insertions, 0 deletions