Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornulltoken <emeric.fermas@gmail.com>2013-09-08 20:22:28 +0400
committernulltoken <emeric.fermas@gmail.com>2013-09-11 00:36:10 +0400
commitd0cd6c427a35b257373c7178d1e17d82001e125f (patch)
tree12c22e3a8b979d586391ccb410fd2bc1e985d710 /src/refdb_fs.c
parent38859f293720a960acaf7f426c683ab1a71b18c6 (diff)
path: Make direach() return EUSER on callback error
Diffstat (limited to 'src/refdb_fs.c')
-rw-r--r--src/refdb_fs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/refdb_fs.c b/src/refdb_fs.c
index 04516a5b0..894ff7c84 100644
--- a/src/refdb_fs.c
+++ b/src/refdb_fs.c
@@ -299,7 +299,7 @@ static int packed_loadloose(refdb_fs_backend *backend)
git_buf_free(&refs_path);
- return error;
+ return (error == GIT_EUSER) ? -1 : error;
}
static int refdb_fs_backend__exists(