Skip to content
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
Closed

Linked working trees no more recognized #554

weo opened this issue Feb 8, 2016 · 2 comments

Comments

@weo
Copy link

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
Copy link
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
Copy link
Author

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
Teach the git discovery code to handle linked worktrees as created by
"git worktree".

Closes git-cola#554
Reported-by: Wolfgang Ocker <weo@reccoware.de>
Signed-off-by: David Aguilar <davvid@gmail.com>
@davvid davvid closed this as completed in bc54582 Feb 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants