diff options
author | Martin von Zweigbergk <martin.von.zweigbergk@gmail.com> | 2011-04-04 22:14:17 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2011-07-24 15:34:54 +1000 |
commit | da616db5e56a735ab3028c33b19af5136420dcb9 (patch) | |
tree | 0a4e0043acd946a64729e7d4b1eb364ce519bee7 /builtin/verify-pack.c | |
parent | gitk: Put temporary directory inside .git (diff) | |
download | tgif-da616db5e56a735ab3028c33b19af5136420dcb9.tar.xz |
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 'builtin/verify-pack.c')
0 files changed, 0 insertions, 0 deletions