New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linked working trees no more recognized #554

Closed
weo opened this Issue Feb 8, 2016 · 2 comments

Comments

Projects
None yet
2 participants
@weo

weo commented Feb 8, 2016

In 3a5c09f git-cola doesn't recognize a linked working tree anymore. The menu to select a repo is shown instead.

I bisected the problem and found that bea1333 might introduce the problem.

@davvid

This comment has been minimized.

Show comment
Hide comment
@davvid

davvid Feb 8, 2016

Member

Interesting. I'm not familiar with "linked working trees". Can you explain how to recreate this kind of setup? I'm sure we can make this work again.

Member

davvid commented Feb 8, 2016

Interesting. I'm not familiar with "linked working trees". Can you explain how to recreate this kind of setup? I'm sure we can make this work again.

@weo

This comment has been minimized.

Show comment
Hide comment
@weo

weo Feb 8, 2016

A repository can have multiple worktrees. You manage them with "git worktree". In such a "secondary" (or "linked") worktree, ".git" is just a file with a pointer to its own ".git" directory within the repository's ".git" directory.

weo commented Feb 8, 2016

A repository can have multiple worktrees. You manage them with "git worktree". In such a "secondary" (or "linked") worktree, ".git" is just a file with a pointer to its own ".git" directory within the repository's ".git" directory.

davvid added a commit to davvid/git-cola that referenced this issue Feb 8, 2016

git: add support for linked worktrees
Teach the git discovery code to handle linked worktrees as created by
"git worktree".

Closes #554
Reported-by: Wolfgang Ocker <weo@reccoware.de>
Signed-off-by: David Aguilar <davvid@gmail.com>

@davvid davvid closed this in bc54582 Feb 10, 2016

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