I just encountered the issue from the subject line. While
lab mr show <MR#>
works nicely in a worktree,
lab mr show -c <MR#>
fails with ERROR: config.go:364: open .git/lab/lab.toml: not a directory
The reason is apparently that .git is a file in a worktree, rather than a directory. Looks like following the gitdir info in the worktree .git file is not implemented yet?
Hi,
I just encountered the issue from the subject line. While
lab mr show <MR#>
works nicely in a worktree,lab mr show -c <MR#>
fails with ERROR: config.go:364: open .git/lab/lab.toml: not a directory The reason is apparently that .git is a file in a worktree, rather than a directory. Looks like following the gitdir info in the worktree .git file is not implemented yet?Corinna