Procházet zdrojové kódy

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

Add to README: git config --global core.fileMode false
John Kessenich před 6 roky
rodič
revize
00054da5e6
2 změnil soubory, kde provedl 10 přidání a 7 odebrání
  1. 7 7
      .gitattributes
  2. 3 0
      README.md

+ 7 - 7
.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

+ 3 - 0
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