diff options
| author | Russell Belfer <rb@github.com> | 2012-11-20 14:50:36 -0800 |
|---|---|---|
| committer | Russell Belfer <rb@github.com> | 2012-11-20 14:50:36 -0800 |
| commit | 38f7d026dce92ec6774a8d6e13499ea83461f287 (patch) | |
| tree | f9643f83cae87666e809ce263387ddcaed5e139a /src | |
| parent | cc6b4162de59013b5357ec35a1806fc5c9b29148 (diff) | |
| download | libgit2-38f7d026dce92ec6774a8d6e13499ea83461f287.tar.gz | |
Need to clear ignored error from config load
Diffstat (limited to 'src')
| -rw-r--r-- | src/repository.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/repository.c b/src/repository.c index 92eb6e11d..f82dc108b 100644 --- a/src/repository.c +++ b/src/repository.c @@ -489,6 +489,8 @@ static int load_config( error != GIT_ENOTFOUND) goto on_error; + giterr_clear(); /* clear any lingering ENOTFOUND errors */ + *out = cfg; return 0; |
