Skip to content

Take a name instead of an instance to update a remote #1285

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

Merged
merged 1 commit into from
Apr 15, 2016

Conversation

carlosmn
Copy link
Member

All the Remote instance does in RemoteUpdater is carry the name, as we
need it in order to perform the update. Reflect this in the class fields
as well as in the preferred way of calling it.

While we're dealing with the updater, make it perform its actions inside
a configuration transaction so the configuration does not change while
we're processing updates.

@carlosmn carlosmn force-pushed the cmn/remoteupdater-name branch 2 times, most recently from 5295c7e to a5a583a Compare March 21, 2016 15:24
@carlosmn
Copy link
Member Author

This needs libgit2/libgit2#3703 since writing multivars under lock is buggy for silly reasons.

@carlosmn carlosmn force-pushed the cmn/remoteupdater-name branch from a5a583a to b941ec1 Compare April 12, 2016 17:50
All the Remote instance does in RemoteUpdater is carry the name, as we
need it in order to perform the update. Reflect this in the class fields
as well as in the preferred way of calling it.

While we're dealing with the updater, make it perform its actions inside
a configuration transaction so the configuration does not change while
we're processing updates.
@carlosmn carlosmn force-pushed the cmn/remoteupdater-name branch from b941ec1 to 3b308f4 Compare April 12, 2016 18:57
@ethomson ethomson merged commit 5d0cb35 into master Apr 15, 2016
@ethomson
Copy link
Member

libgit2/libgit2#3703 landed in our natives, so this looks good to go!

@Therzok Therzok deleted the cmn/remoteupdater-name branch April 15, 2016 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants