Commit f8baece7 by Justin Spahr-Summers

Set GITERR_INVALID when encountering a NULL remote URL

parent a2a61894
......@@ -133,6 +133,7 @@ int git_remote_load(git_remote **out, git_repository *repo, const char *name)
goto cleanup;
if (!val) {
geterr_set(GITERR_INVALID, "Malformed remote '%s' - missing URL", name);
error = -1;
goto cleanup;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment