Browse Source

fossil settings: crlf-glob extended to src/vendorlib/* and src/vfs/*

Vendored library payloads and vfs kit payloads legitimately carry CRLF
endings (upstream files are kept as-is; the LF preference governs authored
text). Without the globs, large vendor/vfs checkins block on fossil''s
interactive CRLF prompt - the tablelist 7.11 catch-up (fossil 3316d3c7)
had to use --no-warnings. Policy documented in .fossil-settings/AGENTS.md
alongside the binary-glob rationale. crlf-glob is fossil-only (no
.gitignore-style counterpart), so no dual-VCS derivation applies.

Assisted-by: harness=claude; primary-model=claude-fable-5; api-location=anthropic.com
master
Julian Noble 2 weeks ago
parent
commit
bac12a1bb7
  1. 1
      .fossil-settings/AGENTS.md
  2. 6
      .fossil-settings/crlf-glob

1
.fossil-settings/AGENTS.md

@ -14,6 +14,7 @@ Versioned fossil settings (one setting value or glob list per file) for this dua
### Commit warning suppression ### Commit warning suppression
- `binary-glob` is `*`: binary checkins are allowed by default with no fossil warnings/prompts (applies to punkshell and is the pattern for sub-projects like tomlish). The aim of an eventually binary-free tree (goals G-004/G-005/G-006) is agent/workflow policy (see root `AGENTS.md` User Preferences) and is deliberately NOT enforced at the local VCS layer. - `binary-glob` is `*`: binary checkins are allowed by default with no fossil warnings/prompts (applies to punkshell and is the pattern for sub-projects like tomlish). The aim of an eventually binary-free tree (goals G-004/G-005/G-006) is agent/workflow policy (see root `AGENTS.md` User Preferences) and is deliberately NOT enforced at the local VCS layer.
- `crlf-glob` covers `src/embedded/*`, `src/vendorlib/*` and `src/vfs/*`: generated docs, vendored library payloads and vfs kit payloads legitimately carry CRLF endings (vendor files keep upstream endings; the root `AGENTS.md` LF preference governs authored text files). Without this, large vendor/vfs checkins block on fossil's interactive CRLF prompt (observed 2026-07-15 with the tablelist 7.11 payload - that checkin needed `--no-warnings`). If a new payload tree outside these globs trips the prompt, extend the glob rather than reaching for `--no-warnings`.
### Files each system must not track ### Files each system must not track

6
.fossil-settings/crlf-glob

@ -1 +1,7 @@
#Suppress fossil CRLF commit warnings/prompts for trees whose content legitimately
#carries CRLF endings: embedded generated docs, vendored library payloads and vfs
#kit payloads (vendor/payload files keep their upstream endings; the LF preference
#in root AGENTS.md governs authored text files, not these trees).
src/embedded/* src/embedded/*
src/vendorlib/*
src/vfs/*

Loading…
Cancel
Save