-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Low
-
None
-
Affects Version/s: 5.1.6, 5.6.2
-
Component/s: None
-
None
-
2
-
Severity 3 - Minor
-
0
Summary
The E-diff option in Bitbucket Server does not highlight all the changes in a csv.
Steps to Reproduce
- Create a csv file with some differences in the source and target branch of a pull request
In the example below the following changes have been applied to the file in the source branch:
- line 2: replaced 01/18/2918 with 01/19/2918 - no e-diff is displayed
- line 6: replaced Employee Only with Employee EEOnly
- line 8: replaced Employee Only with Employee EEOnly and marshmallowOne with marshmallowTwo
This is the output of the Git diff command performed by Bitbucket Server:
git diff -C --color=never -U10 --dst-prefix=dst:// --src-prefix=src:// e004b7c3ec4b41a6acf6404a8b1041c26255f8f6 851949fd4137cd25db87dae0d863131f62927279 -- CsvDiff.csv ... diff --git src://CsvDiff.csv dst://CsvDiff.csv index c3cd6e2..fc6a69e 100644 --- src://CsvDiff.csv +++ dst://CsvDiff.csv @@ -1,9 +1,9 @@ 01/2018,$132.00,,01/18/2918,Verify some text,Cup cake, Employee Only,Tart chocolate bar candy donut marshmallowOne,Yes,91/91/2917 -01/2018,$132.00,,01/18/2918,Verify some text,Cup cake, Employee Only,Tart chocolate bar candy donut marshmallowOne,Yes,91/91/2917 01/2018,$132.00,,01/19/2918,Verify some text,Cup cake, Employee Only,Tart chocolate bar candy donut marshmallowOne,Yes,91/91/2917 +01/2018,$102.00,,01/19/2918,Verify some text,Cup cake, Employee Only,Tart chocolate bar candy donut marshmallowOne,Yes,91/91/2917 01/2018,$132.00,,01/18/2918,Verify some text,Cup cake, Employee Only,Tart chocolate bar candy donut marshmallowOne,Yes,91/91/2917 01/2018,$132.00,,01/18/2918,Verify some text,Cup cake, Employee Only,Tart chocolate bar candy donut marshmallowOne,Yes,91/91/2917 +01/2018,$132.00,,01/18/2918,Verify some text,Cup cake, Employee EEOnly,Tart chocolate bar candy donut marshmallowOne,Yes,91/91/2917 01/2018,$132.00,,01/18/2918,Verify some text,Cup cake, Employee Only,Tart chocolate bar candy donut marshmallowOne,Yes,91/91/2917 -01/2018,$132.00,,01/18/2918,Verify some text,Cup cake, Employee Only,Tart chocolate bar candy donut marshmallowOne,Yes,91/91/2917 -01/2018,$132.00,,01/18/2918,Verify some text,Cup cake, Employee Only,Tart chocolate bar candy donut marshmallowOne,Yes,91/91/2917 +01/2018,$132.00,,01/18/2918,Verify some text,Cup cake, Employee EEOnly,Tart chocolate bar candy donut marshmallowTwo,Yes,91/91/2917 01/2018,$132.00,,01/18/2918,Verify some text,Cup cake, Employee Only,Tart chocolate bar candy donut marshmallowOne,Yes,91/91/2917
Expected Results
The applied changes are highlighted.
Actual Results
The following diffs are displayed.
Unified view
Side by side view
Workaround
- Download the files and compare them in an external tool