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>
Johannes Schindelin committed
Mar 14, 2019 at 04:25 UTC
1dcda05820f1044a2ab35867c1fee1f829d2b92c
1 file changed
-1
builtin/difftool.c
-1
@@ -727,7 +727,6 @@ int cmd_difftool(int argc, const char **argv, const char *prefix)
727
if (tool_help)
728
return print_tool_help();
729
730
- /* NEEDSWORK: once we no longer spawn anything, remove this */
730
setenv(GIT_DIR_ENVIRONMENT, absolute_path(get_git_dir()), 1);
731
setenv(GIT_WORK_TREE_ENVIRONMENT, absolute_path(get_git_work_tree()), 1);
732