Skip to content
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

Make GTCredential from GTCredentialProviderBlock optional #580

Merged
merged 2 commits into from
Jun 28, 2016

Conversation

alehed
Copy link
Contributor

@alehed alehed commented Jun 27, 2016

Currently the credential is enforced as non-optional by the swift compiler.
This means that there is no way for the user to abort a remote operation that demands a credential.

@phatblat
Copy link
Member

We've only been adding the _Nullable annotations to the .h files as that's the only place I think they are required. Not sure which is the better practice.

I like that you use the newer _Nullable. It's probably time to change the rest of the uses of the old nullable annotation, but that can be done in another PR.

@alehed
Copy link
Contributor Author

alehed commented Jun 28, 2016

Ok, that's fixed. Any ideas to why the tests are failing? Never mind.

@alehed alehed mentioned this pull request Jun 28, 2016
@phatblat
Copy link
Member

Nice. Not sure what happened with that one build ¯_(ツ)_/¯

@phatblat phatblat merged commit 5e24439 into libgit2:master Jun 28, 2016
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