-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitattributes
More file actions
31 lines (25 loc) · 890 Bytes
/
Copy path.gitattributes
File metadata and controls
31 lines (25 loc) · 890 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Auto detect text files and normalize line endings to LF in the repo,
# checked out as LF on Linux/macOS and CRLF on Windows unless overridden below.
* text=auto eol=lf
# Source code — always LF, diff as C++
*.cpp text eol=lf diff=cpp
*.h text eol=lf diff=cpp
*.hpp text eol=lf diff=cpp
# Docs
*.md text eol=lf
*.txt text eol=lf
# Config
.gitignore text eol=lf
.gitattributes text eol=lf
# Binary — do not diff, do not normalize line endings
*.pdf binary
*.exe binary
*.png binary
*.jpg binary
*.jpeg binary
# --- Linguist overrides -----------------------------------------------
# Custom header files under Data_Structures now carry a .h extension, so
# Linguist detects them as C++ on its own — no per-path override needed.
# Large reference PDFs shouldn't count toward "code" stats or repo-size
# warnings on GitHub's language bar.
Notes/*.pdf linguist-documentation