-
Notifications
You must be signed in to change notification settings - Fork 7
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
Doesn't work with git worktrees #19
Comments
Thanks for reporting this. I had never heard of Git worktrees so this is all new to me. What exactly breaks? Does the plugin crash or produce stacktraces? |
I read a few of the bug reports and it seems that we could just depend on command line Git instead of sbt-git. Is this in any way urgent for you? |
It is not urgent, thank you. I just wanted you to know, sorry I included so little details, here's more. Using sbt-prompt, and starting sbt from a git worktree, sbt fails to load and crashes with a stacktrace:
The problem comes from JGit, which is used by sbt-git, which sbt-prompt is using. Other projects seem to get rid of sbt-git altogether as there seem to be no hope that JGit gets fixed anytime soon (a patch for the problem exists since a few years, but never got merged). This issue is only about fixing the crash. |
Thanks. It seems the mere presence of sbt-git is causing this since there is no mention of sbt-prompt in the stacktrace. Moving to straight commandline git (and dealing with that not being available) seems like the best way to deal with this. |
Problem from upstream: sbt/sbt-git#110
see also sbt/sbt#2323
The text was updated successfully, but these errors were encountered: