Skip to content

Commit

Permalink
Add .gitattributes file - force bash scripts to end with LF.
Browse files Browse the repository at this point in the history
  • Loading branch information
costleya committed Jul 25, 2018
1 parent b296988 commit ab7ff3f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Set the default behavior, in case people don't have core.autocrlf set.
* text=auto

# Force the bash scripts to be checked out with LF line endings.
git-secrets text eol=lf
git-secrets.1 text eol=lf
test/bats/bin/* text eol=lf
test/bats/libexec/* text eol=lf
*.bats text eol=lf
*.bash text eol=lf

0 comments on commit ab7ff3f

Please sign in to comment.