-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(git): Always use worktree-local git hooks for remote repos
Since v0.5.67, the work tree is fully checked out into a local directory and the LFS hooks installed. This works fine in most cases, however if `core.hooksPath` was set globally to a shared directory, the LFS hooks would be installed into that directory, silently overwriting whatever was there before. This commit addresses the issue by configuring `core.hooksPath` in the checked out work tree before trying to install any hooks.
- Loading branch information
1 parent
fbcd213
commit 6b9070c
Showing
2 changed files
with
22 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters