]> git.proxmox.com Git - libgit2.git/commit
patch: show copy information for identical copies
authorEdward Thomson <ethomson@github.com>
Tue, 26 Apr 2016 05:18:01 +0000 (01:18 -0400)
committerEdward Thomson <ethomson@github.com>
Sun, 26 Jun 2016 03:08:30 +0000 (23:08 -0400)
commit1a79cd959ba2991dd3295f9940b28b606e494ccf
treee89b79913d4b3c8f95cb59858a227191e1d27bdf
parent9eb19381348bca66eedc4d2e541448443311007a
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.
src/diff_print.c
src/patch_parse.c
tests/diff/diff_helpers.c
tests/diff/format_email.c
tests/diff/parse.c
tests/diff/rename.c