-
Notifications
You must be signed in to change notification settings - Fork 19
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
Git worktree support #44
Comments
Hi there, I'm afraid I didn't even realise the I will take a look and see what I can work out. Would you be able to include a link to a minimal project that demonstrates the issue? |
Just take your own project, create an alternative worktree, and try run the plugin (see updated command above) |
Looks like this is a bug in jgit (which we are using to run git commands in the plugin). https://bugs.eclipse.org/bugs/show_bug.cgi?id=477475 It's been known about since 2015 and hasn't been fixed. Looks like jgit is not being pro-actively maintained. There is a fork with a fix, but it is not published. I think it is probably safest to assume that jgit will never create a fix, so I will look into alternatives. |
I have released a fix in 3.4.0. You should be able to upgrade and you will be able to use worktrees without the error you were seeing. The behaviour has been changed so that the configure goal will not attempt to apply configuration changes in a worktree. You should see a warning in your build output to that effect. |
Resolving this issue. Feel free to open a new issue if you have any further problems. |
The plugin fails to detect the repository when in a worktree:
The text was updated successfully, but these errors were encountered: