Configure EOL conversion
Configure end-of-line conversion settings in Unity Version Control.
Read time 1 minuteLast updated 21 days ago
Enable an end of line (EOL) conversion mechanism to transform different end of lines of text into the right EOL type for your system. If you enable EOL conversion, Unity Version Control (UVCS) uses EOL conversion during updates and each time you retrieve a file from the workspace. If you update an existing workspace, UVCS doesn’t rewrite unchanged files and converts only the new files that download. EOL conversion only works when you download files. A check in always preserves the content you create. There are two ways to enable EOL conversion, which is disabled by default:
Refer to more information on how to use value pattern configuration files.
Edit the client.conf
file
client.conf- Add the AutoEolConversion key:
<AutoEolConversion>Auto</AutoEolConversion> - Set one of the following conversion types:
- (default)
None - (converts based on your operating system)
Auto CRLFCRLF
- Restart the GUI after you change the settings to reload the file.
client.conf
Create the eolconversion.conf
file
eolconversion.conf- Create an file in one of the following locations:
eolconversion.conf- In your client installation directory.
- In the directory (under
plastic4on Windows or underC:\Users\<em>user</em>\AppData\Local\plastic4on Linux and macOS systems).$HOME/.plastic4
- Set one of the following conversion types:
- (default)
None - (converts based on your operating system)
Auto CRLFCRLF