Skip to content

Fix line endings#4

Open
mattachu wants to merge 1 commit intoimpact-lbl:masterfrom
mattachu:fix/gui-line-endings
Open

Fix line endings#4
mattachu wants to merge 1 commit intoimpact-lbl:masterfrom
mattachu:fix/gui-line-endings

Conversation

@mattachu
Copy link
Copy Markdown
Contributor

@mattachu mattachu commented Nov 8, 2019

Files were commited with CRLF (Windows-style) line endings. This stops them working on Linux. It's best to commit to Git with LF (Linux-style) line endings and use Git's own settings to make sure you get the right version when you check it out.

This pull request changes the currently committed GUI .py and .txt files to use LF (Linux-style) line endings inside the repository.

On Windows, set Git to automatically change line endings on checkout:

git config core.autocrlf true

On Linux, set Git to checkout as-is but commit as LF:

git config core.autocrlf input

Files were commited with CRLF (Windows-style) line endings. This stops them working on Linux. It's best to commit to Git with LF (Linux-style) line endings and use Git's own settings to make sure you get the right version when you check it out.

On Windows, set Git to automatically change line endings on checkout:

```
git config core.autocrlf true
```

On Linux, set Git to checkout as-is but commit as LF:

```
git config core.autocrlf input
```
@mattachu
Copy link
Copy Markdown
Contributor Author

mattachu commented Nov 8, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant