1
0
mirror of https://gitlab.com/bzip2/bzip2.git synced 2026-10-23 09:48:56 +03:00
Files
bzip2/.gitattributes
Micah Snyder 857df933cb Windows: Prevent git from changing line endings on test files
The sample3.ref test file is plain ascii, which means that Git on
Windows will automatically convert the line endings from \n to \r\n.
This of course causes a test to fail.

Added a .gitattributes file that requires Git to treat *.ref files as
binary, so it won't convert line endings.
2021-07-10 12:33:16 -07:00

17 lines
374 B
Plaintext

# Handle line endings automatically for files detected as text
# and leave all files detected as binary untouched.
* text=auto
#
# The above will handle all files NOT found below
#
# Files that should be left untouched (binary is macro for -text -diff)
*.ref binary
#
# Exclude files from exporting
#
.gitattributes export-ignore
.gitignore export-ignore