Skip to content

Commit ab7ff3f

Browse files
committed
Add .gitattributes file - force bash scripts to end with LF.
1 parent b296988 commit ab7ff3f

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.gitattributes

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Set the default behavior, in case people don't have core.autocrlf set.
2+
* text=auto
3+
4+
# Force the bash scripts to be checked out with LF line endings.
5+
git-secrets text eol=lf
6+
git-secrets.1 text eol=lf
7+
test/bats/bin/* text eol=lf
8+
test/bats/libexec/* text eol=lf
9+
*.bats text eol=lf
10+
*.bash text eol=lf

0 commit comments

Comments
 (0)