summaryrefslogtreecommitdiff
path: root/src/odb.c
diff options
context:
space:
mode:
authorEtienne Samson <samson.etienne@gmail.com>2019-06-26 14:49:37 +0200
committerEtienne Samson <samson.etienne@gmail.com>2019-06-26 14:49:37 +0200
commit9f723c97f506da0e544efe1910a96afd311f3407 (patch)
tree4e1343bf44e274d6f5e0aba1e5032683c4ab4d58 /src/odb.c
parentb883d37055ccd5153cd92b87fe3c5e76d320dd6e (diff)
downloadlibgit2-9f723c97f506da0e544efe1910a96afd311f3407.tar.gz
docs: fixups
Diffstat (limited to 'src/odb.c')
-rw-r--r--src/odb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/odb.c b/src/odb.c
index 0ede4a36b..e04cf02ea 100644
--- a/src/odb.c
+++ b/src/odb.c
@@ -548,6 +548,7 @@ int git_odb__add_default_backends(
#else
if (p_stat(objects_dir, &st) < 0) {
if (as_alternates)
+ /* this should warn */
return 0;
git_error_set(GIT_ERROR_ODB, "failed to load object database in '%s'", objects_dir);