Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Focus correct SCM repo when restoring editors #79566
When adding repositories during restore, we automatically focus the first added in the SCM status bar. This is incorrect when there are open editors from a different repository. Check this before focussing and give active editor priority, but still auto-focus new repository if no active editor exists.