-
Notifications
You must be signed in to change notification settings - Fork 10.2k
Description
Describe the feature or problem you’d like to solve
The GitHub Desktop client includes a git client but that git client doesn't contain the git-subtree executable.
This can cause some problems, for example if the git repository has git hooks that use the git subtree command, those git hooks will fail with the following message:
git: 'subtree' is not a git command. See 'git --help'.
See screenshot below.
Proposed solution
Include the git-subtree executable with the included git client.
The git-subtree executable was included before, at least in some very old GitHub Desktop versions (I've version since 2018 that included it).
I manually copied the git-subtree executable into ~/Applications/GitHub Desktop.app/Contents/Resources/app/git/libexec/git-core/ on my Mac and then the git hooks work as expected but I would need to add the executable after each update of the GitHub Desktop client.
