Bug 125294 - [Operations] "Convert text files to use platform line ending" should influence diff and "Clear timestamp"
Summary: [Operations] "Convert text files to use platform line ending" should influenc...
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: CVS (show other bugs)
Version: 3.1.1   Edit
Hardware: All All
: P3 enhancement with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: platform-cvs-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2006-01-26 04:00 EST by Aaron Digulla CLA
Modified: 2010-07-02 08:58 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aaron Digulla CLA 2006-01-26 04:00:09 EST
We have a setup here which is a bit complicated: We use Eclipse to edit a Unix project.

During the build, several files (which are edited both on Windows and Unix) are copied back and forth which usually leads to a total confusion of line endings (ie. they change randomly).

I'd like to request the following feature: Change the checkbox into a combo/radio with these options:

- Convert text files to use platform line ending
- Ignore line endings for text files

The second option should ignore all possible line endings (CR/LF - Windows, LF - Unix, CR - Mac) during diff and "Clean timestamp" without actually changing the files.

A file where "A\n" has changed to "A \r\n" (ie. there is now a space at the end of the line) should show as different.

Mixed line endings in one file should be ignored.

Implementation tip: When you load the file for comparison, replace all possible line ends with \n and then compare.
Comment 1 Michael Valenta CLA 2006-02-13 17:00:33 EST
We wont have time to look at this for 3.2. Patches will be accepted.
Comment 2 Michael Valenta CLA 2006-06-16 10:07:19 EDT
Currently, we do not have the manpower to address this issue. Patches are welcome.
Comment 3 Denis Roy CLA 2009-08-30 02:14:48 EDT
As of now 'LATER' and 'REMIND' resolutions are no longer supported.
Please reopen this bug if it is still valid for you.
Comment 4 Aaron Digulla CLA 2010-07-02 08:58:41 EDT
This can now be fixed via the project properties by setting the line endings to "Unix" for all files on all platforms (instead of inheriting it from the container).