Ensure interdiffs do not update line counts
Review Request #7241 — Created April 23, 2015 and submitted
Previously it was possible for the
DiffChunkGenerator
to update the
line counts in a forced interdiff (i.e., an interdiff where there is no
corresponding interfilediff, such as when the changes to a file are
reverted). This results in all insert and delete counts being swapped
in theFileDiff
's line counts. This patch fixes this issue.A unit test was added to ensure that this does not regress.
Ran unit tests.
The new unit test failed without the patch applied.
Description | From | Last Updated |
---|---|---|
""" on the next line. |
chipx86 |
- Branch:
-
masterrelease-2.5.x
- Commit:
-
17519151a19e7fc5f0a0a635da624d908be8bee77a35a58b33618ffc249d6a53cb375cd756b3e13e