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

Import existing hook script when installing #75

Closed
klauern opened this issue Sep 18, 2019 · 2 comments
Closed

Import existing hook script when installing #75

klauern opened this issue Sep 18, 2019 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@klauern
Copy link

klauern commented Sep 18, 2019

I use awslabs/git-secrets as a pre-install hook for all Git clone operations, and I would like to maintain having that when using Lefthook. In looking how lefthook install works, it won't take the existing hooks and import it, and I'm not sure how to enable a global set of hooks that will be run.

I'd prefer if there were an option to not replace my .git/hooks with lefthook's, and instead append the lefthook configuration. Barring that, I'd like to see some options for global hooks that could be installed or set up once in your $HOME/.lefthook dir, so it could be included by default for all lefthook operations.

@Arkweid
Copy link
Collaborator

Arkweid commented Sep 18, 2019

It sound very close to shared configs #30

@Arkweid Arkweid added enhancement New feature or request help wanted Extra attention is needed labels Sep 18, 2019
@Arkweid
Copy link
Collaborator

Arkweid commented Oct 1, 2019

@Arkweid Arkweid closed this as completed Oct 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants