Commit 9ba9e513 by Carlos Martín Nieto Committed by Vicent Marti

Parse the repo's configuration when we load it

It's not enough to load the config, we also need to explicitely parse
it after we create it.

Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
parent b22d1479
......@@ -295,6 +295,12 @@ int git_repository_config(git_config **out, git_repository *repo)
goto cleanup;
}
error = local->open(local);
if (error < GIT_SUCCESS) {
error = git__rethrow(error, "Failed to open config file");
goto cleanup;
}
*out = cfg;
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