zowe / zowe-explorer-ftp-extension

Adds zFTP support to Zowe Explorer demonstrating how to extend the Zowe Explorer using its extensibility API.
Eclipse Public License 2.0
1 stars 2 forks source link

Set line endings to lf #7

Closed VitGottwald closed 4 years ago

VitGottwald commented 4 years ago

To avoid problems with different line endings on different platforms, this PR sets line endings to LF. It follows the default prettier setting since version 2.0.0.

After this is merged into master, contributors on Windows should:

  1. commit any work in progress
  2. switch to the master branch pull the changes
  3. update their working tree to match the new settings by running
git rm --cached -r .
git reset --hard

This will checkout their working tree with LF line endings (git does not update files on checkout if they have not changed - and line endings do not count for change).

Alternatively, cloning the repository will achieve the same thing. More details can be found in this stackoverflow article.

Signed-off-by: Vit Gottwald vit.gottwald@gmail.com