Skip to content

Installs git hook even when rusty-hook command is not available #140

Description

@kornelski

I'm not a rusty-hook user, I've only built someone else's crate that has rusty-hook as a dependency, and it broke my git repository by adding pre-commit hooks that expect rusty-hook command in PATH. I don't have one, so I can't commit.

Please try to detect whether rusty-hook is installed and is going to work as a pre-commit hook before modifying git repos.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions