Skip to content

husky pre-commit hooks not run #1019

Closed
Closed
@stephanweissenberger

Description

@stephanweissenberger

Describe the bug
With husky I added a precommit hook to build my project before commiting it.
git commit does respect this and builds my project prior to commit.
gitui commit does not.

To Reproduce
Steps to reproduce the behavior:

  1. Add a precommit hook
  2. Commit via CLI to verify the precommit hook is working
  3. Commit via gitui
  4. precommit hook is not executed

Expected behavior
A precommit hook should be respected by gitui

Context (please complete the following information):

  • OS/Distro + Version: [Windows 21H1]
  • GitUI Version [0.18.0]

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingnostaleimmune to stale-bot

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions