Skip to content

Invalid path when worktree has relative path #1437

@DyachenkoA

Description

@DyachenkoA
> git worktree list
C:/Users/Alexandr/Source/Repos/Folder1  e426dc9 [master]
../Folder2                        6a3c86d [Releases/1.3]

Try open worktree:
Image

Try remove worktree:
Image

Relative worktree path must be relative to root of main git repository folder

Activity

love-linger

love-linger commented on Jun 19, 2025

@love-linger
Collaborator

How do you create worktree with relative path? I can't reproduce this issue

Image

self-assigned this
on Jun 19, 2025
DyachenkoA

DyachenkoA commented on Jul 26, 2025

@DyachenkoA
Author

Not reproducing, possibly due to transferring the repository from another PC

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

Metadata

Metadata

Assignees

Labels

need-more-infoExtra information or replay is needed

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Invalid path when worktree has relative path · Issue #1437 · sourcegit-scm/sourcegit