Skip to content

local hooks stopped working after updating to latest verison. #18739

@eyalpazu

Description

@eyalpazu

The problem

local hooks stopped working after updating to the latest version (Version 3.4.0 (x64)).
The command line works without problems, but it fails to find Python when using the GitHubDesktop GUI.
Error message: "/usr/bin/env: ‘python’: No such file or directory"

Release version

Version 3.4.0 (x64)

Operating system

Windows 10

Steps to reproduce the behavior

Create local hook that uses python.
path: .git/hooks/prepare-commit-msg
And try commit using GitHubDesktop.

Log files

No response

Screenshots

GitHubDesktopProblem

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugConfirmed bugs or reports that are very likely to be bugspriority-1Bug that affects many users in a significant way and prevents core functions

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions