Skip to content

Commit hooks don't respect core.hooksPath in config. #2083

@DevAndrewGeorge

Description

@DevAndrewGeorge

Commit hooks are more-or-less hardcoded to use hooks found in .git/hooks. This means that specifying core.hooksPath in any git config file (i.e. /etc/gitconfig, ~/.gitconfig, ~/git/config, $REPO/.git/config) has no effect. Is this by design?

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions