Perforce translates line endings when syncing and submitting files. The LineEnd: option in the perforce client spec is used to override the default behavior to make perforce use a specific type of line ending when syncing and sumbitting files.
- local Use the same line endings as the system being used to sync. This is the recommended default.
- unix Use unix style line endings (LF)
- mac Use mac style line endings (CR)
- win Use Windows style line endings (CRLF)
- share Sync using unix line endings, but submit using either unix or windows line endings (for environments shared between operating systems)