Skip to content

Commit 9a750f9

Browse files
authored
.gitattributes line endings / script chmod (#8248)
* .gitattributes fix for bash scripts * Scripts to unix ln * Windows Files to crlf
1 parent 67c7b3e commit 9a750f9

File tree

10 files changed

+8
-5
lines changed

10 files changed

+8
-5
lines changed

.gitattributes

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,23 @@
11
# This is based on the Github .gitattributes templates
2-
# Set default behaviour, in case users don't have core.autocrlf set.
32
* text=auto
43

5-
# Explicitly declare text files we want to always be normalized and converted
6-
# to native line endings on checkout.
4+
# Explicitly declare text files to normalize
75
*.cpp text
86
*.h text
97
*.mm text
108

11-
# Declare files that will always have CRLF line endings on checkout.
9+
# Files with CRLF line endings for Windows
1210
*.sln text eol=crlf
1311
*.vcxproj* text eol=crlf
1412
.appveyor.yml text eol=crlf
1513
*.bat text eol=crlf
14+
*.props text eol=crlf
15+
*.filters text eol=crlf
1616

17-
# Denote all files that are truly binary and should not be modified.
17+
# Files with LF line endings for Unix-like systems
18+
*.sh text eol=lf
19+
20+
# Binary files (no EOL normalization)
1821
*.png binary
1922
*.jpg binary
2023

scripts/ci/emscripten/build_addons.sh

100644100755
File mode changed.

scripts/ci/vs/pg_projects.sh

100644100755
File mode changed.

scripts/dev/local_libs.sh

100644100755
File mode changed.

scripts/linux/archlinux_armv7/install_dependencies.sh

100644100755
File mode changed.

scripts/linux/chip/install_codecs.sh

100644100755
File mode changed.

scripts/linux/chip/install_dependencies.sh

100644100755
File mode changed.

scripts/osx/build_iconset.sh

100644100755
File mode changed.

scripts/vs/download_libs_2019_x64.sh

100644100755
File mode changed.

scripts/vs/download_libs_x64.sh

100644100755
File mode changed.

0 commit comments

Comments
 (0)