Skip to content

Commit

Permalink
No issue. Added gitattributes file
Browse files Browse the repository at this point in the history
  • Loading branch information
reckart committed Aug 3, 2024
1 parent 03908bc commit 5b8cacf
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Set the default behavior, in case people don't have core.autocrlf set.
# means that files that GIT determines to be text files, will be
# converted from CRLF -> LF upon being added to the repo, and
# converted from LF -> LF or CRLF when checked out (depending on the platform, I think)
# * text=auto

# We force LF for all text files because we have Checkstyle set up in such a way
# The "text" by itself says these files must be line-ending-conversion controlled on check-in / out
# The internal repo form for these is always lf,
# The eol=lf means on check-out do nothing, and on check-in, if the file has crlf, convert to lf
* text eol=lf
# *.sh text eol=lf

# Make sure that these files are treated as binary so that newlines are preserved.
# overrides GIT's determination if a file is text or not
*.gz binary
*.bin binary
*.dump binary
*.xcas binary
*.xmi binary
# next is probably the default
*.pdf binary
*.ser binary
*.png binary
*.jpg binary

0 comments on commit 5b8cacf

Please sign in to comment.