You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Handle git worktrees without relying on --show-superproject-working-tree
Dan James's changes in 8584858 made
git-pre-commit-format work with worktrees, but only if using a recent
enough git which has --show-superproject-working-tree.
Unfortunately, git 2.7.4 doesn't have it and is quite widespread (due to
being in Ubuntu 16.04).
This is based on an initial patch by Charles Baylis (who also helped
with understanding why his original patch was failing some tests).
0 commit comments