Skip to content

Commit 1dcda05

Browse files
dschogitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 0e94f7a commit 1dcda05

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

builtin/difftool.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -727,7 +727,6 @@ int cmd_difftool(int argc, const char **argv, const char *prefix)
727727
if (tool_help)
728728
return print_tool_help();
729729

730-
/* NEEDSWORK: once we no longer spawn anything, remove this */
731730
setenv(GIT_DIR_ENVIRONMENT, absolute_path(get_git_dir()), 1);
732731
setenv(GIT_WORK_TREE_ENVIRONMENT, absolute_path(get_git_work_tree()), 1);
733732

0 commit comments

Comments
 (0)