]> git.ipfire.org Git - thirdparty/git.git/commit - diff.c
diff: drop complete_rewrite parameter from run_external_diff()
authorJeff King <peff@peff.net>
Thu, 14 Feb 2019 05:49:42 +0000 (00:49 -0500)
committerJunio C Hamano <gitster@pobox.com>
Thu, 14 Feb 2019 23:26:14 +0000 (15:26 -0800)
commit4bc1792750ede6b716c0c099c690bbf77ddea6bc
treee1b4a9af91a8586e0e1d7d11895d06b1b8978dfb
parent19b9046eedef2c8b39a1192bfcb0541f59acde09
diff: drop complete_rewrite parameter from run_external_diff()

Our builtin_diff() wants to know whether break-detection found a
complete rewrite, because it changes how the diff is shown. However,
when calling out to an external diff, we don't pass this information
along (and doing so would require designing a new interface to the
user-provided program).

Let's drop the unused parameter to make this fact more clear.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
diff.c