Skip to content

Hooks Install isn't explanding the ~ #547

@jayden-chua

Description

@jayden-chua

Description

This happens when you try to use graphify hooks install.

When the ~/.gitconfig is configured with

[core]
	hooksPath = ~/gitconfig/hooks

The hooks install script will not install into the user's home path but into the project's <project>/~/gitconfig/hooks

Issue should be around hooks.py:121-140 not calling expanding ~

Workaround

Users could change hooksPath in .gitconfig with absolute path instead. The only downside is most users do stow their dotfiles.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions