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

Remove git hooks when disabled in blt.yml #2697

Closed
mortona42 opened this issue Mar 31, 2018 · 0 comments
Closed

Remove git hooks when disabled in blt.yml #2697

mortona42 opened this issue Mar 31, 2018 · 0 comments
Assignees
Labels
Enhancement A feature or feature request

Comments

@mortona42
Copy link

I disabled the commit-msg hook in blt.yml. I think this should remove the hook when blt:init:git-hooks is run.

blt.yml:

git:
  default_branch: master
  remotes: {  }
  hooks:
    commit-msg: false

When I run this command:

blt big

I get the following output:

Installing pre-commit git hook...
Skipping installation of commit-msg git hook

And I expected this to happen:
Remove the hook if it was installed previously.

@grasmash grasmash added the Enhancement A feature or feature request label Apr 2, 2018
malikkotob added a commit to malikkotob/blt that referenced this issue Apr 2, 2018
malikkotob added a commit to malikkotob/blt that referenced this issue Apr 2, 2018
malikkotob added a commit to malikkotob/blt that referenced this issue Apr 2, 2018
malikkotob added a commit to malikkotob/blt that referenced this issue Apr 6, 2018
malikkotob added a commit to malikkotob/blt that referenced this issue Apr 6, 2018
malikkotob added a commit to malikkotob/blt that referenced this issue Apr 6, 2018
malikkotob added a commit to malikkotob/blt that referenced this issue Apr 6, 2018
malikkotob added a commit to malikkotob/blt that referenced this issue Apr 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement A feature or feature request
Projects
None yet
Development

No branches or pull requests

3 participants