Skip to content

Commit 6c19ba1

Browse files
authored
Effectiveness eol=lf on all text file extensions, in .gitattributes file (#20035)
* Fixed #20023, Added `eol=lf` to `.gitattributes` file. Signed-off-by: Nabi <[email protected]> * Fix #20023: Effectiveness eol=lf on all file extensions, in .gitattributes file. Signed-off-by: Nabi <[email protected]> --------- Signed-off-by: Nabi <[email protected]>
1 parent 80f465a commit 6c19ba1

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

.gitattributes

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
# Autodetect text files
2-
* text=auto
2+
* text=auto eol=lf
33

44
# ...Unless the name matches the following overriding patterns
55

66
# Definitively text files
7-
*.php text eol=lf
8-
*.css text eol=lf
9-
*.js text eol=lf
10-
*.txt text eol=lf
11-
*.md text eol=lf
12-
*.xml text eol=lf
13-
*.json text eol=lf
14-
*.bat text eol=lf
15-
*.sql text eol=lf
16-
*.yml text eol=lf
7+
*.php text
8+
*.css text
9+
*.js text
10+
*.txt text
11+
*.md text
12+
*.xml text
13+
*.json text
14+
*.bat text
15+
*.sql text
16+
*.yml text
1717

1818
# Ensure those won't be messed up with
1919
*.png binary

0 commit comments

Comments
 (0)