Skip to content

spr edit fails in git worktrees #519

Description

@Greenscreen23

Hi, very nice project :)

I tried to use git spr edit in a git worktree, but got the error <worktree dir>/.git/spr_edit_state: not a directory.
I think this is because in a worktree, .git is a file pointing to the actual repo.

A previous issue already requested worktree support and is closed, so I'm assuming it's supposed to be supported.
My git spr version is 0.17.6 (from the github release).

It would be great if git spr edit were supported in git worktrees. If I can be of help in any way, feel free to reach out.

Best,
Lukas

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