Browse Source

Enforced that Windows batch files use CRLF line endings.

This commit updates .gitattributes to enforce that all Windows batch
files use CRLF line endings.

Signed-off-by: Jacob Howard <jacob@havoc.io>
tags/v0.11.0-rc1
Jacob Howard 7 months ago
parent
commit
096bd2f1f5
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      .gitattributes

+ 3
- 0
.gitattributes View File

@@ -7,3 +7,6 @@
# -mod=readonly flag is specified to go build.
go.mod text eol=lf
go.sum text eol=lf

# Enforce that Windows batch files always use CRLF line endings.
*.bat text eol=crlf

Loading…
Cancel
Save