Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configurable path to lefthook to run during git hook #653

Conversation

technicalpickles
Copy link
Contributor

⚡ Summary

This adds LEFTHOOK_PATH to the .git/hook templates. It's used first before

This is something that would have been helpful while working on #588 and I was testing against a locally built

While I was here, I added set -x when LEFTHOOK_VERBOSE is on. This is another thing that would have been useful, and I also used it to help validate LEFTHOOK_PATH working 😁 Let me know if I should split it out separately.

☑️ Checklist

  • Check locally
  • Add tests
  • Add documentation

internal/templates/hook.tmpl Outdated Show resolved Hide resolved
@mrexox mrexox merged commit 3024a5b into evilmartians:master Mar 5, 2024
17 checks passed
@mrexox
Copy link
Member

mrexox commented Mar 5, 2024

Thank you!

@technicalpickles technicalpickles deleted the configurable-lefthook-path-in-hook branch October 1, 2024 17:44
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.

2 participants