Infrastructure: Fix .gitattributes typo eof -> eol. Also update README

Add to README: git config --global core.fileMode false
This commit is contained in:
John Kessenich 2018-12-10 16:47:05 -07:00
Родитель 0dbc5cbc5d
Коммит 00054da5e6
2 изменённых файлов: 10 добавлений и 7 удалений

14
.gitattributes поставляемый Normal file → Executable file
Просмотреть файл

@ -8,10 +8,10 @@
*.txt text *.txt text
# source code can be native and normalized, but simpler if lf everywhere; will try that way # source code can be native and normalized, but simpler if lf everywhere; will try that way
*.h text eof=lf *.h text eol=lf
*.c text eof=lf *.c text eol=lf
*.cpp text eof=lf *.cpp text eol=lf
*.y text eof=lf *.y text eol=lf
*.out text eof=lf *.out text eol=lf
*.conf text eof=lf *.conf text eol=lf
*.err text eof=lf *.err text eol=lf

3
README.md Normal file → Executable file
Просмотреть файл

@ -127,6 +127,9 @@ cmake $SOURCE_DIR -DCMAKE_INSTALL_PREFIX="$(pwd)/install"
The CMake GUI also works for Windows (version 3.4.1 tested). The CMake GUI also works for Windows (version 3.4.1 tested).
Also, consider using `git config --global core.fileMode false` (or with `--local`) on Windows
to prevent the addition of execution permission on files.
#### 4) Build and Install #### 4) Build and Install
```bash ```bash