Skip to content

Conversation

@klaren
Copy link
Contributor

@klaren klaren commented Feb 4, 2022

Git supports using the same local repository for multiple checked-out worktrees. JGit does not fully support this, so we have to do some workarounds for it to work.

The previous workaround provided by #965 did not take commondir into consideration, which is the location of a few files.

More details are available at: https://git-scm.com/docs/git-worktree#_details

klaren and others added 6 commits February 4, 2022 13:45
Git supports using the same local repository for multiple checked-out worktrees. JGit does not fully support this, so we have to do some workarounds for it to work.

The previous workaround provided by diffplug#965 did not take `commondir` into consideration, which is the location of a few files.
@nedtwigg nedtwigg enabled auto-merge February 9, 2022 00:17
@nedtwigg nedtwigg merged commit 693803c into diffplug:main Feb 9, 2022
@nedtwigg
Copy link
Member

nedtwigg commented Feb 9, 2022

Thanks very much, published in plugin-gradle 6.2.2 and plugin-maven 2.20.2`.

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.

2 participants