From 00054da5e6acddef8658c38c89f084123fa392ef Mon Sep 17 00:00:00 2001 From: John Kessenich Date: Mon, 10 Dec 2018 16:47:05 -0700 Subject: [PATCH] Infrastructure: Fix .gitattributes typo eof -> eol. Also update README Add to README: git config --global core.fileMode false --- .gitattributes | 14 +++++++------- README.md | 3 +++ 2 files changed, 10 insertions(+), 7 deletions(-) mode change 100644 => 100755 .gitattributes mode change 100644 => 100755 README.md diff --git a/.gitattributes b/.gitattributes old mode 100644 new mode 100755 index cade3908..2929e835 --- a/.gitattributes +++ b/.gitattributes @@ -8,10 +8,10 @@ *.txt text # source code can be native and normalized, but simpler if lf everywhere; will try that way -*.h text eof=lf -*.c text eof=lf -*.cpp text eof=lf -*.y text eof=lf -*.out text eof=lf -*.conf text eof=lf -*.err text eof=lf +*.h text eol=lf +*.c text eol=lf +*.cpp text eol=lf +*.y text eol=lf +*.out text eol=lf +*.conf text eol=lf +*.err text eol=lf diff --git a/README.md b/README.md old mode 100644 new mode 100755 index ba7160da..7d4fe3a9 --- a/README.md +++ b/README.md @@ -127,6 +127,9 @@ cmake $SOURCE_DIR -DCMAKE_INSTALL_PREFIX="$(pwd)/install" 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 ```bash