difftool: remove obsolete (and misleading) comment
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Thu, 14 Mar 2019 11:25:03 +0000 (04:25 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 18 Mar 2019 02:44:12 +0000 (11:44 +0900)
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>
builtin/difftool.c
index a3ea60ea71428ee59ab20a67f6e9ccf76c841f85..31eece0c8d183472794e6f8e593ee9c95fc2cdad 100644 (file)
@@ -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);