Skip to content

Commit 4b3bc8d

Browse files
committed
chore: add text=auto catch-all to .gitattributes
1 parent 55f5206 commit 4b3bc8d

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.gitattributes

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Normalize all text files to LF in the repo, OS-native line endings on checkout.
2+
# Silences CRLF conversion warnings on Windows.
3+
* text=auto
4+
15
# Go tooling (gofmt, golangci-lint) requires LF line endings.
26
# Without this, core.autocrlf=true on Windows converts to CRLF on checkout,
37
# causing spurious "not properly formatted" errors -- especially in worktrees.

0 commit comments

Comments
 (0)