Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Conversation

repositoryRemoteName = DefaultRepositoryRemoteName;
repositoryRemoteUrl = string.Empty;

Repository.OnActiveRemoteChanged += Repository_OnActiveRemoteChanged;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't this something that we always want to do regardless of whether there's a currently active remote or not?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, if this gets called twice, we're subscribing twice. We probably want to subscribe on enable and unsubscribe on disable?

shana
shana previously requested changes Jul 5, 2017
Copy link
Member

@shana shana left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think there's some iffiness going on with the active remote subscription that needs handled

@shana shana force-pushed the fixes/settings-view-git-remote-update branch from edaafcb to b00656d Compare July 7, 2017 12:47
@shana shana dismissed their stale review July 7, 2017 12:49

other things need fixing, doing it myself

shana
shana previously approved these changes Aug 7, 2017
@shana shana merged commit bb0d6f1 into master Aug 8, 2017
@shana shana deleted the fixes/settings-view-git-remote-update branch August 8, 2017 14:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants