Skip to content

fix: honor Git effective hook paths for ores-lint - #8

Merged
ORESoftware merged 3 commits into
masterfrom
hardening/ores-lint-effective-hooks
Sep 22, 2026
Merged

ORESoftware merged 3 commits into
masterfrom
hardening/ores-lint-effective-hooks

Conversation

@ORESoftware

Copy link
Copy Markdown
Owner

Hardens the optional ores-lint pre-push installer so it uses Git's effective hook directory instead of assuming .git/hooks.

  • supports default, relative, absolute, and literal ~/ core.hooksPath values;
  • handles linked-worktree git dirs;
  • refuses to clobber unrelated pre-push hooks;
  • generated hook fails closed if the repository-local lint entrypoint disappears;
  • adds a hermetic installer contract and pinned read-only CI lane.

@ORESoftware
ORESoftware merged commit cbdd0b8 into master Sep 22, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant