From 1a79cd959ba2991dd3295f9940b28b606e494ccf Mon Sep 17 00:00:00 2001 From: Edward Thomson Date: Tue, 26 Apr 2016 01:18:01 -0400 Subject: patch: show copy information for identical copies When showing copy information because we are duplicating contents, for example, when performing a `diff --find-copies-harder -M100 -B100`, then show copy from/to lines in a patch, and do not show context. Ensure that we can also parse such patches. --- tests/diff/format_email.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'tests/diff/format_email.c') diff --git a/tests/diff/format_email.c b/tests/diff/format_email.c index 2e6d0368e..9f8fe3142 100644 --- a/tests/diff/format_email.c +++ b/tests/diff/format_email.c @@ -351,9 +351,6 @@ void test_diff_format_email__mode_change(void) "diff --git a/file1.txt.renamed b/file1.txt.renamed\n" \ "old mode 100644\n" \ "new mode 100755\n" \ - "index a97157a..a97157a\n" \ - "--- a/file1.txt.renamed\n" \ - "+++ b/file1.txt.renamed\n" \ "--\n" \ "libgit2 " LIBGIT2_VERSION "\n" \ "\n"; -- cgit v1.2.1