Skip to content

Commit 4e84018

Browse files
committed
chore: add .gitattributes to preserve line endings in HTTP fixtures
Treat HTTP fixture files as binary to prevent Git from converting their line endings. This ensures the Content-Length headers remain accurate and the fixtures maintain their original format during sync operations.
1 parent b1a2268 commit 4e84018

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.gitattributes

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Preserve line endings in HTTP fixture files
2+
# These files contain raw HTTP requests/responses. Treat them as binary
3+
# to prevent Git from converting line endings.
4+
fixtures/**/*.http binary

0 commit comments

Comments
 (0)