Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,5 @@ SpacesInConditionalStatement: false
SpacesInCStyleCastParentheses: false
SpacesInParentheses: false
TabWidth: 2
LineEnding: LF
...
27 changes: 27 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Normalize all text files to LF on commit and checkout
* text=auto eol=lf

# Explicitly force source files to LF
*.cpp text eol=lf
*.cc text eol=lf
*.cxx text eol=lf
*.h text eol=lf
*.hpp text eol=lf

# Config files
*.clang-format text eol=lf
*.yaml text eol=lf
*.yml text eol=lf
*.json text eol=lf
*.md text eol=lf
CMakeLists.txt text eol=lf

# Binaries — never touch these
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.a binary
*.so binary
*.o binary
Loading
Loading