10000 Use `--no-auto-install` by default when executing `run` hooks · Issue #840 · evilmartians/lefthook · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Use --no-auto-install by default when executing run hooks #840
Closed
@cgaube

Description

@cgaube

⚡ Summary

Hooks are triggered when executing git commands like git commit
When lefthook is executed it automatically check if the hooks are installed

This is I believe useless as if the hooks were triggered it means the hooks are installed

#715
#716

Value

We stop doing things that we don't need to do :D

Behavior and configuration changes

When lefthook run is executed via a hook dont check if hook is installed

https://github.com/evilmartians/lefthook/blob/master/internal/lefthook/run.go#L96-L106

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestA new lefthook feature description

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0