diff options
author | Vicent Martà <tanoku@gmail.com> | 2012-05-18 01:48:50 +0200 |
---|---|---|
committer | Vicent Martà <tanoku@gmail.com> | 2012-05-18 01:48:50 +0200 |
commit | 904b67e69fa15b7a3246e43b3d78645ffa2331f6 (patch) | |
tree | 3be54c31248759ba27a08cef52558385116d9b19 /src/config_cache.c | |
parent | e172cf082e62aa421703080d0bccb7b8762c8bd4 (diff) | |
download | libgit2-904b67e69fa15b7a3246e43b3d78645ffa2331f6.tar.gz |
errors: Rename error codesbreaking-changes
Diffstat (limited to 'src/config_cache.c')
-rw-r--r-- | src/config_cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config_cache.c b/src/config_cache.c index b23fd7b31..ca9602e56 100644 --- a/src/config_cache.c +++ b/src/config_cache.c @@ -72,7 +72,7 @@ int git_repository__cvar(int *out, git_repository *repo, git_cvar_cached cvar) error = git_config_get_mapped(out, config, data->cvar_name, data->maps, data->map_count); - if (error == GIT_NOTFOUND) + if (error == GIT_ENOTFOUND) *out = data->default_value; else if (error < 0) |