Diff: heed DiffOptions fields OldPrefix and NewPrefix #150
Loading…
Reference in New Issue
No description provided.
Delete Branch "DiffOptions_OldPrefix_and_NewPrefix"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR makes diffing heed the OldPrefix and NewPrefix fields in
DiffOptions.
Before this patch, running the modified TestDiffTreeToTree fails:
It passes with the changes to diff.go in this PR.
I updated this PR to use the
diffOptionsToC
andfreeDiffOptions
that were recently added to master. It's a much smaller PR now. Let me know if this looks good.