You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found that running mvn org.hjug.refactorfirst.plugin:refactor-first-maven-plugin:0.5.0-M1:htmlReport from an alternative git worktree resulted in no output.
git checkout prod
mvn org.hjug.refactorfirst.plugin:refactor-first-maven-plugin:0.5.0-M1:htmlReport # works fine here
git branch temp # create a new branch at the same git commit
git worktree add ../other temp # checkout 'temp' branch in other worktree
cd ../other
mvn org.hjug.refactorfirst.plugin:refactor-first-maven-plugin:0.5.0-M1:htmlReport # no output if run here
The text was updated successfully, but these errors were encountered:
Hi @danhaywood,
Thanks so much for the idea and steps to reproduce. 😁 Although this isn't my top priority at the moment, I know worktrees are definitely used. Looking through the jgit javadocs, it looks like jgit does support worktrees.
It may not require much change in the code to support worktrees - the biggest issue will be finding the right calls to make to jgit! Would you be up for creating a PR?
However, once I'm able to create a native binary, then I could easily remove the language level requirement and point folks who use older versions of Java in their project to the native executable.
I found that running
mvn org.hjug.refactorfirst.plugin:refactor-first-maven-plugin:0.5.0-M1:htmlReport
from an alternative git worktree resulted in no output.The text was updated successfully, but these errors were encountered: