Bug 441609 - synchronized projects on windows machines adds windows line termination to files on remote linux systems
Summary: synchronized projects on windows machines adds windows line termination to fi...
Status: NEW
Alias: None
Product: PTP
Classification: Tools
Component: RDT.sync (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-12 11:26 EDT by Jay Alameda CLA
Modified: 2015-06-23 15:47 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jay Alameda CLA 2014-08-12 11:26:27 EDT
With synchronized projects, files that originate on Windows machines seem to acquire windows line termination characters, even if the files were originally linux/unix files, and are being synchronized to linux systems.
Comment 1 Roland Schulz CLA 2014-08-12 11:41:01 EDT
This should be easy to fix by setting core.autocrlf to true. As a temporary workaround this should even be possible to do manually. Set it in .ptp-sync/config on the Windows machine.
Comment 2 John Eblen CLA 2014-08-19 16:47:52 EDT
I hesitate to add this flag, because it can possibly corrupt files. Also, Eclipse provides an easy way to deal with line endings, which I just discovered:

http://stackoverflow.com/questions/1886185/eclipse-and-windows-newlines
Comment 3 Greg Watson CLA 2015-06-23 15:47:59 EDT
Should this be closed then?