Skip to content

Feature Request: Git hooks in python env #10990

@king-11

Description

@king-11

We run git hooks when committing things or pushing but many repos have directory specific env setup that is required for hooks to run properly like a virtual python environment or non global node/rust version.

While executing these hooks gitbutler can activate those envs and run hooks without failing otherwise at the moment we have to run gitbutler from command line after activating the environment for it to run git hooks in the environment.

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