Skip to content
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

Add support for worktrees #1119

Merged
merged 6 commits into from Feb 9, 2022
Merged

Add support for worktrees #1119

merged 6 commits into from Feb 9, 2022

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 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.

None yet

2 participants