Allow explicit publication stores in Git metadata

This commit is contained in:
2026-11-02 22:18:51 +00:00
parent d2b1329095
commit 9a7b9b9301
4 changed files with 64 additions and 0 deletions

View File

@@ -97,6 +97,10 @@ than relying on random retries.
## R03: Allow an explicit override into Git metadata — P2
**Completed:** The override guard recognizes Git-discovered private and shared
metadata directories. Recording tests passed for ordinary, linked-worktree, and
separate-Git-directory layouts, alongside rejection of unignored worktree files.
**Relevant code:** `internal/publish/record.go:142`, especially the worktree
containment and `git check-ignore` handling at lines 148–159.