Force LF eol with .gitattributes

This commit is contained in:
Bruno Sutic 2015-09-20 01:32:35 +02:00
parent 5de37f98bb
commit c53ccb37ae
No known key found for this signature in database
GPG Key ID: 66D96E4F2F7EF26C
2 changed files with 11 additions and 0 deletions

9
.gitattributes vendored Normal file
View File

@ -0,0 +1,9 @@
# Force text files to have unix eols, so Windows/Cygwin does not break them
*.* eol=lf
# These files are unfortunately not recognized as text files so
# explicitly listing them here
tpm eol=lf
bin/* eol=lf
bindings/* eol=lf
tests/* eol=lf

View File

@ -5,6 +5,8 @@
- bug: when using `emacs` copy mode, Enter does not quit screen after tpm - bug: when using `emacs` copy mode, Enter does not quit screen after tpm
installation/update. Fix by making `Escape` the key for emacs mode. installation/update. Fix by making `Escape` the key for emacs mode.
- add a doc with troubleshooting instructions - add a doc with troubleshooting instructions
- add `.gitattributes` file that forces linefeed characters (classic `\n`) as
line endings - helps with misconfigured git on windows/cygwin
### v3.0.0, 2015-08-03 ### v3.0.0, 2015-08-03
- refactor `shared_set_tpm_path_constant` function - refactor `shared_set_tpm_path_constant` function