[Sprint 8] perf: Add early git check to git-flow commit-msg-check.sh #323
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Add early exit to
commit-msg-check.shfor non-git commands to avoid spawning Python.Implementation: Change V5.5.0 (Sprint 8)
Problem
The hook currently:
git commit -mcommandPython startup is expensive. This happens on EVERY Bash command.
Solution
Add early check BEFORE Python:
Acceptance Criteria
git commit -mFiles to Modify
plugins/git-flow/hooks/commit-msg-check.sh(add early check after line 7)Milestone: Sprint 8 - Hook Efficiency Quick Wins