Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Remote: Set an error when a remote cannot be found. #2389

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

Conversation

arthurschreiber
Copy link
Member

Inside git_remote_load, the calls to get_optional_config use
giterr_clear to unset any errors that are set due to missing config
keys. If neither a fetch nor a push url config was found for a remote,
we should set an error again.

Inside `git_remote_load`, the calls to `get_optional_config` use
`giterr_clear` to unset any errors that are set due to missing config
keys. If neither a fetch nor a push url config was found for a remote,
we should set an error again.
vmg pushed a commit that referenced this pull request Jun 3, 2014
…o-remote-found

Remote: Set an error when a remote cannot be found.
@vmg vmg merged commit bccb36e into libgit2:development Jun 3, 2014
@arthurschreiber arthurschreiber deleted the arthur/set-error-when-no-remote-found branch June 3, 2014 15:27
phatblat pushed a commit to phatblat/libgit2 that referenced this pull request Sep 13, 2014
…-when-no-remote-found

Remote: Set an error when a remote cannot be found.
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