Skip to content

Commit 652e53b

Browse files
author
Walden Raines
committed
Normalize all line endings.
Fix issues with CRLF by adding a .gitattributes file and correcting the line terminators in existing files.
1 parent 9b3ae10 commit 652e53b

File tree

4 files changed

+258
-244
lines changed

4 files changed

+258
-244
lines changed

.gitattributes

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Set the default behavior, in case people don't have core.autocrlf set.
2+
* text=auto
3+
4+
# Explicitly declare text files you want to always be normalized and converted
5+
# to native line endings on checkout.
6+
*.c text
7+
*.h text
8+
9+
# Declare files that will always have CRLF line endings on checkout.
10+
*.sln text eol=crlf
11+
12+
# Denote all files that are truly binary and should not be modified.
13+
*.png binary
14+
*.jpg binary

.gitignore

+24-24
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
1-
# generic (system) files/extensions we don't want
2-
*.seed
3-
*.log
4-
*.csv
5-
*.dat
6-
*.out
7-
*.pid
8-
*.gz
9-
.idea/*
10-
*.iml
11-
*.DS_Store
12-
lib-cov
13-
pids
14-
logs
15-
results
16-
test-results.xml
17-
dist/docs
18-
19-
node_modules
20-
lib
21-
.bower
22-
23-
#Actually, need to track these for site to run on Github Pages..
24-
#bower_components
1+
# generic (system) files/extensions we don't want
2+
*.seed
3+
*.log
4+
*.csv
5+
*.dat
6+
*.out
7+
*.pid
8+
*.gz
9+
.idea/*
10+
*.iml
11+
*.DS_Store
12+
lib-cov
13+
pids
14+
logs
15+
results
16+
test-results.xml
17+
dist/docs
18+
19+
node_modules
20+
lib
21+
.bower
22+
23+
#Actually, need to track these for site to run on Github Pages..
24+
#bower_components

0 commit comments

Comments
 (0)