-
Notifications
You must be signed in to change notification settings - Fork 241
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
Add pre-commit as an option for single-repo installation #170
Comments
I'd be happy to add a pull request for this if people agree it is a desired feature? |
Is it different from this? |
Yes, that section of the README refers to the install.sh script I meant. It has pre-push hardcoded: https://github.com/thoughtworks/talisman/blob/master/install.sh#L13 |
I would also like to have this feature. By default for per-project it adds a Pre-Push hook. |
@sradnev It looks like a desired feature. Please feel free to raise a PR |
We want to enforce talisman for specific repositories, potentially as a part of setup/build scripts. Currently the
install.sh
script is hardcoded as a pre-push hook.We would like to be able to easily install talisman (e.g. via an install script) for specific repositories but as a pre-commit hook. Ideally, the install.sh script should be able to take a parameter just like the global install does.
We've considered adding a custom wrapper or a custom pre-commit hook that executes the talisman binary with the correct parameters but ideally we would like to avoid having to maintain anything like that on our own.
The text was updated successfully, but these errors were encountered: