Skip to content

Conversation

@errmayank
Copy link
Contributor

Closes #43574

Release Notes:

  • Fixed failing git commits when hook command is not available (in older versions of Git)

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Dec 2, 2025
@cole-miller
Copy link
Member

Thanks!

I think we should fall back to running the hook manually--it should be executable, so running $REPO_DIR/.git/hooks/pre-commit should work.

@errmayank
Copy link
Contributor Author

Ah that's right! Updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement community champion

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Git commit fails due to: "'hook' is not a git command"

3 participants