mirror of
https://git.proxmox.com/git/libgit2
synced 2025-06-22 04:16:14 +00:00
Merge pull request #714 from schu/config-enotfound
config: do not set an error for GIT_ENOTFOUND
This commit is contained in:
commit
2255b60e28
@ -391,7 +391,6 @@ int git_config_get_string(const char **out, git_config *cfg, const char *name)
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
giterr_set(GITERR_CONFIG, "Config variable '%s' not found", name);
|
|
||||||
return GIT_ENOTFOUND;
|
return GIT_ENOTFOUND;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user