-
Notifications
You must be signed in to change notification settings - Fork 30.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Avoid empty or ambiguous repository label in Repositories submenu (fix #196613) #196623
Conversation
/assign @lszomoru |
I made the minimally disruptive change, but arguably all menu items should use label rather than basename because it's possible for a multiroot workspace to yield more than one repository entry with the same basename. |
@gjsjohnmurray, thank you very much for your contribution. I have pushed a commit to fix some compilation errors, as well as I pushed a change so that the name is computed only once (since |
label if name is undefined
@lszomoru thanks for the improvements. It's passed my testing, so please get the PR approved and merged. |
This PR fixes #196613
Using the repro provided on the issue, the new result is: