mirror of
https://github.com/git/git.git
synced 2026-04-13 10:20:09 +02:00
a9fa11fe5bd5978bb175b3b5663f6477a345d428
Rather than juggling with the env var GIT_DIR around the invocation of gitk, set it and GIT_WORK_TREE after finishing setup, ensuring that any external tool works with the setup we're running with. This also allows us to remove a couple of conditionals when running gitk or git gui in a submodule, as we know that the variables are present and have to be unset and reset before and after the invocation. Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com> Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Description
No description provided
Languages
C
50.4%
Shell
38.9%
Perl
4.3%
Tcl
3.1%
Python
0.8%
Other
2.3%