-
Notifications
You must be signed in to change notification settings - Fork 233
Expand file tree
/
Copy path.gitattributes
More file actions
25 lines (25 loc) · 1.55 KB
/
Copy path.gitattributes
File metadata and controls
25 lines (25 loc) · 1.55 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
# Collapse auto-generated files in GitHub PR diffs. These are regenerated by
# `test_docs_are_in_sync` in tests/integration_tests/readme_sync.rs — edits
# belong in the primary source (src/cli/mod.rs for command pages,
# docs/content/*.md for everything else).
skills/worktrunk/reference/*.md linguist-generated=true
# Skill-only files and the top-level README symlink are primary sources — edited
# directly, not regenerated from docs/content/. Exempt them so real edits stay
# visible in PR diffs.
skills/worktrunk/reference/README.md linguist-generated=false
skills/worktrunk/reference/shell-integration.md linguist-generated=false
skills/worktrunk/reference/troubleshooting.md linguist-generated=false
docs/static/*.md linguist-generated=true
docs/static/llms.txt linguist-generated=true
docs/static/.well-known/agent-skills/index.json linguist-generated=true
# Shell templates are embedded into the binary at compile time (askama); a
# CRLF checkout would leak \r into the shell code Windows-built binaries emit.
templates/* text eol=lf
# A fixture's object store and index are git's own binary formats, but git only
# calls a file binary when it finds a NUL in the first 8000 bytes, and a small
# enough zlib object may have none. Those diff as text, so `git diff` writes raw
# deflate into its output and any tool that decodes that output as a string
# fails on it — which is how `cargo affected` came to abort before running a
# test. The rest of `_git/` (HEAD, config, refs) is text worth reading.
tests/fixtures/*/_git/objects/** binary
tests/fixtures/*/_git/index binary