summaryrefslogtreecommitdiff
path: root/t/t4065-diff-anchored.sh
AgeCommit message (Collapse)AuthorFilesLines
2017-11-28diff: support anchoring line(s)Libravatar Jonathan Tan1-0/+94
Teach diff a new algorithm, one that attempts to prevent user-specified lines from appearing as a deletion or addition in the end result. The end user can use this by specifying "--anchored=<text>" one or more times when using Git commands like "diff" and "show". Signed-off-by: Jonathan Tan <jonathantanmy@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>