-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy path.gitattributes
More file actions
23 lines (19 loc) · 885 Bytes
/
Copy path.gitattributes
File metadata and controls
23 lines (19 loc) · 885 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Auto detect text files and perform LF normalization
* text=auto
# Bundled OpenOCD scripts
x3utils_linux/oocd/** linguist-vendored
x3utils_mac/xpack-openocd-*/** linguist-vendored
x3utils_win/oocd/** linguist-vendored
*.md text eol=lf
# Shell scripts must stay LF — bash breaks on CRLF (mac/Linux rdp tools)
*.sh text eol=lf
*.cfg text eol=lf
# Bundled native OpenOCD binaries — never touch line endings
x3utils_flutter/native/**/oocd/bin/* binary
# git-crypt encrypted docs — -text overrides the *.md text eol=lf rule above;
# without it, LF normalization runs on ciphertext (checkin) or ahead of the
# smudge filter (checkout) and corrupts the encrypted blob.
docs/CLAUDE.md filter=git-crypt diff=git-crypt -text
docs/AGENTS.md filter=git-crypt diff=git-crypt -text
docs/DEVLOG.md filter=git-crypt diff=git-crypt -text
docs/testing.md filter=git-crypt diff=git-crypt -text