Closed njlaw closed 2 months ago
Hi, so it does not work even after reopening the project, correct ?
Hi Łukasz, that is correct. Closing and reopening the project does not make a difference.
Ok, so I need to create release with more logging to find the root cause. I'll let you know when it's ready.
I released version with more logging to plugin test channel. You can download it from here https://plugins.jetbrains.com/plugin/23813-git-worktree/versions/test
zielu.gitworktree:trace
zielu.gitworktree
category and please share them (you can send them to plugins"at"lukasz-zielinski.com if you don't want to put them here)There might also be some warnings coming from zielu.gitworktree
now, because I was missing logs in case when git command would fail.
Thank you! The only zielu.gitworktree
log lines that show up are:
2024-06-12 14:30:42,183 [ 51316] WARN - #zielu.gitworktree.git - List worktree failed: unknown switch `z'
usage: git worktree add [<options>] <path> [<commit-ish>]
or: git worktree list [<options>]
or: git worktree lock [<options>] <path>
or: git worktree move <worktree> <new-path>
or: git worktree prune [<options>]
or: git worktree remove [<options>] <worktree>
or: git worktree unlock <path>
--porcelain machine-readable output
-v, --verbose show extended annotations and reasons, if available
--expire <expiry-date>
add 'prunable' annotation to worktrees older than <time>
Ok, looks like this is what I was looking for. Could you also do git --version
?
git version 2.34.1
I also skipped your instructions to enable trace logging, so I'll do that as well and post the results.
I think thats enough - I need to update how worktree list
is callled to take into account that -z
might not be there
-z
was added around git 2.36
I pushed 1.0.6 to test channel - it should be fine now. If it's ok, it will go to regular release channel.
1.0.6 is working for me.
Thank you kindly!
Perfect, thanks for checking !
Describe the bug A clear and concise description of what the bug is.
A worktree is visible from the console with
git worktree list
, but does not appear in the Worktree tab.To Reproduce Steps to reproduce the behavior:
git worktree list
, but does not appear in the Git Worktree Tab in IntelliJ or WebStorm.Expected behavior The worktrees visible with
git worktree list
shoud also be visible in the WebStorm Git Worktree tab.Plugin version 1.0.4+231
IDE version
This also affects IntelliJ for me:
Screenshots