Skip to content

Add support for git worktrees#889

Merged
jupblb merged 1 commit into
mainfrom
michal/worktree
May 28, 2026
Merged

Add support for git worktrees#889
jupblb merged 1 commit into
mainfrom
michal/worktree

Conversation

@jupblb
Copy link
Copy Markdown
Member

@jupblb jupblb commented May 28, 2026

No description provided.

The JGit bundled with sbt-git 2.1.0 (5.13.x) cannot read linked git
worktrees (where .git is a file containing 'gitdir: ...') and aborts
project load with NoWorkTreeException. When the build is loaded from
a linked worktree, enable useReadableConsoleGit so sbt-git shells out
to the git CLI for read-only operations instead.

See sbt/sbt-git#264.
@jupblb jupblb force-pushed the michal/worktree branch from 9c3a8f7 to a4f233b Compare May 28, 2026 11:02
@jupblb jupblb merged commit 0d18aa7 into main May 28, 2026
12 checks passed
@jupblb jupblb deleted the michal/worktree branch May 28, 2026 11:23
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