You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Flaky test elimination: Fixed test_hooks_skip_without_config in tests/integration/test-git-ops.sh by using git show "HEAD:file" > file instead of git checkout HEAD -- to bypass smudge filter and ensure deterministic test behavior
Changed
Documentation updates: Updated README.md and CONTRIBUTING.md to accurately reflect filter driver implementation, including filter scripts in architecture diagrams and emphasizing Docker tests as authoritative
Added
skip-worktree integration: Overridden files no longer appear as modified in git status
Uses git update-index --skip-worktree when applying overrides
Uses git update-index --no-skip-worktree when restoring originals
Applied automatically in hooks (post-checkout, pre-commit, post-commit)
Applied in CLI commands (apply, restore)
Skip-worktree documentation: Added section to README explaining this feature
Filter driver scripts: Added local-override-filter-smudge and local-override-filter-clean
Smudge outputs local override content when configured override files exist
Clean outputs original HEAD:<path> content when overrides are active
Both filters support passthrough mode and GIT_LOCAL_OVERRIDE_DISABLE=1
Filter helper commands: Added CLI subcommands filter-smudge and filter-clean
Mirrors hook filter behavior for direct invocation and testing