diff options
author | Edward Thomson <ethomson@github.com> | 2016-04-26 01:18:01 -0400 |
---|---|---|
committer | Edward Thomson <ethomson@github.com> | 2016-06-25 23:08:30 -0400 |
commit | 1a79cd959ba2991dd3295f9940b28b606e494ccf (patch) | |
tree | e89b79913d4b3c8f95cb59858a227191e1d27bdf /tests/diff/format_email.c | |
parent | 9eb19381348bca66eedc4d2e541448443311007a (diff) | |
download | libgit2-1a79cd959ba2991dd3295f9940b28b606e494ccf.tar.gz |
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.
Diffstat (limited to 'tests/diff/format_email.c')
-rw-r--r-- | tests/diff/format_email.c | 3 |
1 files changed, 0 insertions, 3 deletions
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"; |