Skip to content

Focus correct SCM repo when restoring editors#79566

Merged
joaomoreno merged 1 commit intomicrosoft:masterfrom
callummr:focus-correct-scm-on-restore
Oct 25, 2019
Merged

Focus correct SCM repo when restoring editors#79566
joaomoreno merged 1 commit intomicrosoft:masterfrom
callummr:focus-correct-scm-on-restore

Conversation

@callummr
Copy link
Contributor

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.

Closes #67670.

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 respository. Check this
before focussing and go by editor SCM first if present.

Closes #67670
@callummr callummr changed the title Focus correct SCM when restoring editors Focus correct SCM repo when restoring editors Aug 21, 2019
@joaomoreno joaomoreno added the scm General SCM compound issues label Aug 30, 2019
@joaomoreno joaomoreno added this to the October 2019 milestone Oct 25, 2019
@joaomoreno
Copy link
Member

Thanks! 🍻

@joaomoreno joaomoreno merged commit cc76772 into microsoft:master Oct 25, 2019
@github-actions github-actions bot locked and limited conversation to collaborators Mar 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

scm General SCM compound issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Git status bar fails to show branch of current file, on startup

2 participants