Skip to content

Update sbt-git to 3.0.0-RC1 - #396

Merged
adamw merged 1 commit into
masterfrom
update-sbt-git-3
Oct 9, 2026
Merged

adamw merged 1 commit into
masterfrom
update-sbt-git-3

Conversation

@adamw

@adamw adamw commented Oct 9, 2026

Copy link
Copy Markdown
Member

sbt-git 2.2.0 uses JGit 5.13, which doesn't support git worktrees. In a worktree, loading a build that uses sbt-softwaremill-publish fails with:

org.eclipse.jgit.errors.NoWorkTreeException: Bare Repository has neither a working tree, nor an index

sbt-git 3.0.0-RC1 uses JGit 7.7, which supports worktrees. Tested in an ox worktree: the build loads and the git-based version is correct.

@adamw
adamw merged commit a536675 into master Oct 9, 2026
2 checks passed
@adamw
adamw deleted the update-sbt-git-3 branch October 9, 2026 17:05
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

Successfully merging this pull request may close these issues.

1 participant