When using git worktree the --edit flag fails, because .git isn't a directory but a file with content like
gitdir: $MY_ORIG_REPO_PATH/.git/worktrees/$MY_WORKTREE_NAME
When I look at the content of the folder the file links to it contains the COMMIT_EDITMSG file as usual.
When using git worktree the
--editflag fails, because.gitisn't a directory but a file with content likeWhen I look at the content of the folder the file links to it contains the
COMMIT_EDITMSGfile as usual.