Anonymous committed 677fbff

Explain seemingly pointless use of system in difftool

Portability reasons.

Signed-off-by: Alex Riesen <>
Signed-off-by: Junio C Hamano <>

  • Participants
  • Parent commits 5be3b17

Comments (0)

Files changed (1)


+# ActiveState Perl for Win32 does not implement POSIX semantics of
+# exec* system call. It just spawns the given executable and finishes
+# the starting program, exiting with code 0.
+# system will at least catch the errors returned by git diff,
+# allowing the caller of git difftool better handling of failures.
 my $rc = system(generate_command());
 exit($rc | ($rc >> 8));