diff options
author | Vicent Martà <tanoku@gmail.com> | 2012-05-10 12:38:10 +0400 |
---|---|---|
committer | Vicent Martà <tanoku@gmail.com> | 2012-05-18 03:25:57 +0400 |
commit | 29e948debe603d7dd33a171a0101352e6b133a7a (patch) | |
tree | 6ceeea89bc6f6174536b0005b8e2c87735b82a8e /src/config_cache.c | |
parent | 52695898e55f37cf657592dd9d7946c5a7938038 (diff) |
global: Change parameter ordering in API
Consistency is good.
Diffstat (limited to 'src/config_cache.c')
-rw-r--r-- | src/config_cache.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/config_cache.c b/src/config_cache.c index 3679a9646..057f21439 100644 --- a/src/config_cache.c +++ b/src/config_cache.c @@ -69,8 +69,8 @@ int git_repository__cvar(int *out, git_repository *repo, git_cvar_cached cvar) if (error < GIT_SUCCESS) return error; - error = git_config_get_mapped( - config, data->cvar_name, data->maps, data->map_count, out); + error = git_config_get_mapped(out, + config, data->cvar_name, data->maps, data->map_count); if (error == GIT_ENOTFOUND) *out = data->default_value; |