Skip to content

fix(hooks): fix pre-push commit range for new branches#61

Merged
John-David Dalton (jdalton) merged 1 commit intomainfrom
fix/pre-push-hook-range
Apr 14, 2026
Merged

fix(hooks): fix pre-push commit range for new branches#61
John-David Dalton (jdalton) merged 1 commit intomainfrom
fix/pre-push-hook-range

Conversation

@jdalton
Copy link
Copy Markdown
Collaborator

Summary

  • Fix pre-push hook to use remote/main as baseline for new branches instead of release tags
  • Prevents false positives from scanning commits already on origin/main
  • Aligns commit range logic with the canonical version from socket-cli

Test plan

  • Verify push works for new branches without false AI attribution flags

Use remote default branch as baseline instead of release tags.
Prevents false positives from scanning commits already on main.
@jdalton John-David Dalton (jdalton) merged commit 2eeb6ed into main Apr 14, 2026
9 checks passed
@jdalton John-David Dalton (jdalton) deleted the fix/pre-push-hook-range branch April 14, 2026 13:17
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