Skip to content

Commit 62115bb

Browse files
SeanTAllenjemc
authored andcommitted
Set basic attributes on standard source files (ponylang#864)
Utilize git attibutes (https://git-scm.com/docs/gitattributes) to make sure we have 2 space indent, no tabs for indent, no trailing whitespace and lf as our line ending.
1 parent 5fa1d5c commit 62115bb

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.gitattributes

+9-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
1+
[attr]pony text eol=lf whitespace=tab-in-indent,trailing-space,tabwidth=2
2+
3+
*.c pony
4+
*.cc pony
5+
*.h pony
6+
*.pony pony
7+
18
pony.g export-ignore
2-
.gitattributes export-ignore
9+
.gitattributes export-ignore
310
.gitignore export-ignore
11+
412
CHANGELOG.md merge=union

0 commit comments

Comments
 (0)