Commit a4f233b
committed
build: support git worktrees in sbt-git
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.1 parent 580fbf5 commit a4f233b
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
24 | 31 | | |
25 | 32 | | |
26 | 33 | | |
| |||
0 commit comments