Page MenuHomePhabricator

Diffusion marked all as red when compare some files while only several rows are changed
Closed, DuplicatePublic

Assigned To
None
Authored By
taoqiping
Sep 3 2014, 12:59 AM
Referenced Files
F197234: setup.php
Sep 3 2014, 1:50 AM
F197235: new_-_setup.php
Sep 3 2014, 1:50 AM
F197209: pasted_file
Sep 3 2014, 12:59 AM

Description

Please check the screen shot
Only two rows have been changed, but why whole file marked as changed, it is hard for code review.

pasted_file (726×1 px, 103 KB)

Event Timeline

taoqiping raised the priority of this task from to Normal.
taoqiping updated the task description. (Show Details)
taoqiping added a project: Diffusion.
taoqiping updated the task description. (Show Details)
taoqiping added a subscriber: taoqiping.

Can you attach the old and new files to this task?

Or the raw git diff or whatever?

Attached:


The line ending of every line was changed from \r\n to \n, which is why the whole file appears to be changed.

can we ignore this by such setting just like ignore whitespace

I think it caused by some editor difference.