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
PR #1307 introduced podman to perform format checks using a podman image, but the mounting of the source tree inside the container doesn't work as is for git worktrees
for example, my own setup has a number of branches checked out in different trees as follows
and only the "main" (actually first, not necessarily main branch) tree created contains the real .git folder. When mounting the source tree and then executing git commands from the hook, unfortunately, the actual git folder is not mounted and so commands fail.
The text was updated successfully, but these errors were encountered:
PR #1307 introduced podman to perform format checks using a podman image, but the mounting of the source tree inside the container doesn't work as is for git worktrees
for example, my own setup has a number of branches checked out in different trees as follows
but the
.git
entry in 9 out of the 10 is really just a path to follow to find the real.git
folderand only the "main" (actually first, not necessarily main branch) tree created contains the real
.git
folder. When mounting the source tree and then executing git commands from the hook, unfortunately, the actual git folder is not mounted and so commands fail.The text was updated successfully, but these errors were encountered: