vscode-pull-request-github icon indicating copy to clipboard operation
vscode-pull-request-github copied to clipboard

Unable to select a repository when submodules are present

Open Dzejkop opened this issue 3 years ago • 1 comments

I have a project which had a submodule added recently. For some reason the Pull Requests and Issues tabs now only display the PRs and issues from the sumbodule repository and the extension doesn't link with the root repository.

I would like to be able to set (either in config or via a command) the repository used by the extension.

Dzejkop avatar Sep 16 '22 12:09 Dzejkop

Can you share the output from git remote -v?

alexr00 avatar Sep 21 '22 12:09 alexr00

I get the following

origin  [email protected]:XXX/yyy.git (fetch)
origin  [email protected]:XXX/yyy.git (push)

Where XXX/yyy is the correct repository I'm working on. But in the pull requests tab I see issues and PRs from the submodule repo.

Dzejkop avatar Oct 05 '22 11:10 Dzejkop

Similar here, only I get only the issues from the main module and not the sub. Strangely, if I uninstall/reload/install it works again for a while. If I happen to open another folder then open the one with the subrepo, the sub is gone again from the extension.

eevleevs avatar Feb 22 '23 03:02 eevleevs

The fix should cause all submodules to be properly detected.

alexr00 avatar Nov 22 '23 12:11 alexr00