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/notes.c | |
parent | 52695898e55f37cf657592dd9d7946c5a7938038 (diff) |
global: Change parameter ordering in API
Consistency is good.
Diffstat (limited to 'src/notes.c')
-rw-r--r-- | src/notes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/notes.c b/src/notes.c index a86a75b01..84ad94087 100644 --- a/src/notes.c +++ b/src/notes.c @@ -274,7 +274,7 @@ static int note_get_default_ref(const char **out, git_repository *repo) if (git_repository_config__weakptr(&cfg, repo) < 0) return -1; - ret = git_config_get_string(cfg, "core.notesRef", out); + ret = git_config_get_string(out, cfg, "core.notesRef"); if (ret == GIT_ENOTFOUND) { *out = GIT_NOTES_DEFAULT_REF; return 0; |