Skip to content

Add support for worktrees - #1119

Merged
nedtwigg merged 6 commits into
diffplug:mainfrom
klaren:support-worktrees
Feb 9, 2022
Merged

nedtwigg merged 6 commits into
diffplug:mainfrom
klaren:support-worktrees

Conversation

@klaren

@klaren klaren commented Feb 4, 2022

Copy link
Copy Markdown
Contributor

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

nedtwigg commented Feb 9, 2022

Copy link
Copy Markdown
Member

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