kahole / edamagit

Magit for VSCode
https://marketplace.visualstudio.com/items?itemName=kahole.magit
MIT License
1.14k stars 66 forks source link

Multirepo discovery fails. #200

Open elrond1999 opened 2 years ago

elrond1999 commented 2 years ago

Whenever I ask for magit status (alt-x g) and I have many repositories open in the workspace it will prompt for which repo to use.

It seems in your code it is supposed to discover this based on the uri of the file open in the editor. But that does not work. How can I debug this further?

Also it would be nice is "status.magit" buffer could be names with the repo is is showing status for.

kahole commented 2 years ago

You are correct it is supposed to try and figure out which repo it belongs to. Not sure why it doesnt in your case, but this has been somewhat a tricky problem in the past

black7375 commented 8 months ago

This was the same when using monorepo. Open a subproject of monorepo with VS Code and run Magit status, which will ask for the repository.

253 setting resolved it.

Why not add it to the README?