summaryrefslogtreecommitdiff
path: root/builtin/difftool.c
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2019-03-14 11:25:03 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-03-18 02:44:12 (GMT)
commit1dcda05820f1044a2ab35867c1fee1f829d2b92c (patch)
tree936a80f64ec6ba48eea2ba19f9613ebfc1b6120f /builtin/difftool.c
parent0e94f7aa730b108f7907cfab1b2a7fba965de442 (diff)
downloadgit-1dcda05820f1044a2ab35867c1fee1f829d2b92c.zip
git-1dcda05820f1044a2ab35867c1fee1f829d2b92c.tar.gz
git-1dcda05820f1044a2ab35867c1fee1f829d2b92c.tar.bz2
difftool: remove obsolete (and misleading) comment
We will always spawn something from `git difftool`, so we will always have to set `GIT_DIR` and `GIT_WORK_TREE`. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/difftool.c')
-rw-r--r--builtin/difftool.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/builtin/difftool.c b/builtin/difftool.c
index a3ea60e..31eece0 100644
--- a/builtin/difftool.c
+++ b/builtin/difftool.c
@@ -727,7 +727,6 @@ int cmd_difftool(int argc, const char **argv, const char *prefix)
if (tool_help)
return print_tool_help();
- /* NEEDSWORK: once we no longer spawn anything, remove this */
setenv(GIT_DIR_ENVIRONMENT, absolute_path(get_git_dir()), 1);
setenv(GIT_WORK_TREE_ENVIRONMENT, absolute_path(get_git_work_tree()), 1);