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

cghooks remove creates a lock file even if none existed #119

Open
jcnventura opened this issue Jun 30, 2021 · 2 comments
Open

cghooks remove creates a lock file even if none existed #119

jcnventura opened this issue Jun 30, 2021 · 2 comments

Comments

@jcnventura
Copy link

Adding the hooks via cghooks add -l, does not - as expected - create a cghooks.lock file. I'm using cghooks 2.8.5 while reproducing this problem.

However, running cghooks remove creates one, and there's no -l or similar option to prevent this from being created.

@BrainMaestro
Copy link
Owner

Hi @jcnventura this seems like a missing feature. Are you willing to create a PR for this? It should be a relatively simple change to add the same option to remove

@satoved
Copy link

satoved commented Aug 12, 2021

Sorry for a stupid question, but what is the lock file even needed for? To delete only hooks that are added by the package, and leave all the rest? If I don't have any other hooks, can I use it without the lock file?

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

No branches or pull requests

3 participants