Repository navigation
Expand file tree
/
Copy path.gitattributes
More file actions
52 lines (46 loc) · 1.65 KB
/
Copy path.gitattributes
File metadata and controls
52 lines (46 loc) · 1.65 KB
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# Auto-detect text and use one checkout representation on every platform. This
# repository is used from both Windows and Linux, so core.autocrlf must not make
# the same shared working tree alternate between CRLF and LF.
* text=auto eol=lf
# Force CRLF line endings for Windows-specific files
*.vcxproj text eol=crlf
*.vcxproj.filters text eol=crlf
*.sln text eol=crlf
*.bat text eol=crlf
*.cmd text eol=crlf
# C/C++ source files use LF on every platform.
*.c text eol=lf
*.cpp text eol=lf
*.h text eol=lf
*.hpp text eol=lf
# Markdown files
*.md text eol=lf
# Makefiles must use LF
Makefile text eol=lf
# Binary files
*.lib binary
*.obj binary
*.exe binary
*.dll binary
*.pdb binary
*.suo binary
*.user binary
*.ncb binary
*.aps binary
*.sdf binary
*.opensdf binary
*.db binary
*.opendb binary
packages/** filter=lfs diff=lfs merge=lfs -text
release/** filter=lfs diff=lfs merge=lfs -text
# Menu / options resource files under BIN/ are small TEXT config (BIS resource
# syntax + stringtables), not binary game data. The blanket packages/** rule
# above pins them in LFS with -text (no line-ending normalization), which left
# them flip-flopping CRLF<->LF and showing unreadable LFS-pointer diffs. Take
# them OUT of LFS and normalize to LF so they diff/merge as text and stay
# stable. Binary RESOURCE.BIN in the same dir keeps the packages/** LFS rule.
packages/**/BIN/*.hpp text eol=lf !filter !diff !merge
packages/**/BIN/STRINGTABLE_MAINMENU.utf8.csv text eol=lf !filter !diff !merge
packages/README.md text eol=lf !filter !diff !merge
tests/fixtures/mods-stress/**/*.pbo filter=lfs diff=lfs merge=lfs -text
tests/fixtures/mods-faguss/** filter=lfs diff=lfs merge=lfs -text