Skip to content

Makes RemoteUpdater disposable so remotehandle can be used throughout an... - #807

Merged
nulltoken merged 1 commit into
libgit2:vNextfrom
sitereactor:remoteupdater_idisposable_804
Sep 1, 2014
Merged

Makes RemoteUpdater disposable so remotehandle can be used throughout an...#807
nulltoken merged 1 commit into
libgit2:vNextfrom
sitereactor:remoteupdater_idisposable_804

Conversation

@sitereactor

Copy link
Copy Markdown
Contributor

...d released upon disposal.

PR for #804

@nulltoken let me know if this is what you had in mind. Thanks!

@nulltoken

Copy link
Copy Markdown
Member

Wow! You're fast! And this looks very clean.

Just one nitpick, as far as I can see. Can you please amend your commit so that the first line of the commit message is 50 chars or less? We've found that this was making reviewing commit logs a more easily task.

There are tons of articles on that topic, but this one sums it up pretty well.

@sitereactor

Copy link
Copy Markdown
Contributor Author

Yes, of course. Bad habit :-/

@sitereactor

Copy link
Copy Markdown
Contributor Author

Commit message is now updated

@Therzok

Therzok commented Sep 1, 2014

Copy link
Copy Markdown
Member

Isn't the RemoteUpdater used anywhere in tests?

@nulltoken

Copy link
Copy Markdown
Member

Isn't the RemoteUpdater used anywhere in tests?

@Therzok Indirectly. Everywhere Remotes.Update() is called

@nulltoken nulltoken added this to the v0.20 milestone Sep 1, 2014
@nulltoken
nulltoken merged commit ca6242c into libgit2:vNext Sep 1, 2014
@nulltoken

Copy link
Copy Markdown
Member

Hole in one! 👍

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.

3 participants