Skip to content

Bug: edit does not work with git worktree #227

Description

@nidomiro

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions