#503 closed defect (fixed)
Settings for controlling diff line-endings & whitespace
Reported by: | Owned by: | Christopher Lenz | |
---|---|---|---|
Priority: | normal | Milestone: | 0.9 |
Component: | version control/changeset view | Version: | 0.8 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
It appears as though the default diff settings for Trac do not ignore whitespace and also do not ignore line endings. Sometimes the resulting diffs (depending on my changes) end up being the listing of an entire source file.
It would be nice to have some settings in trac.ini for controlling diff - like ignore line endings and ignore whitespace.
Attachments (0)
Change History (5)
comment:1 by , 20 years ago
Milestone: | → 0.8 |
---|---|
Owner: | changed from | to
Status: | new → assigned |
comment:2 by , 20 years ago
Component: | general → changeset view |
---|
comment:3 by , 20 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:4 by , 20 years ago
Milestone: | 0.8 |
---|---|
Resolution: | fixed |
Status: | closed → reopened |
Version: | 0.7 → 0.8 |
Ignoring line-endings is not implemented, it seams.
Changing line endings from 0x0D to 0x0A shows
- the old revision of the file as one long line, getting removed
- the new revision of the file as multiple lines, getting added.
comment:5 by , 20 years ago
Milestone: | → 0.9 |
---|---|
Resolution: | → fixed |
Status: | reopened → closed |
Fixed in [1315]. Line endings are now always ignored… if we were to make this optional, we'd also need to have a good way to show what changed (for example by displaying invisible characters somehow).
Implemented in [757].