Skip to content

Support core.hooksPath #808

@BuzzwordChief

Description

@BuzzwordChief

A global pre-commit hook (set with core.hooksPath) is ignored by gitui. It allows to commit the staged files even if the pre-commit hook returns with a non zero value.

To Reproduce
Create a pre-commit hook like this:

#! /bin/sh
exit 1

Expected behavior
the commit should fail, it doesn't.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions