summaryrefslogtreecommitdiff
path: root/src/odb_loose.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/odb_loose.c')
-rw-r--r--src/odb_loose.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/odb_loose.c b/src/odb_loose.c
index c229b544e..989b03ab2 100644
--- a/src/odb_loose.c
+++ b/src/odb_loose.c
@@ -460,7 +460,7 @@ static int locate_object(
int error = object_file_name(object_location, backend->objects_dir, oid);
if (!error && !git_path_exists(object_location->ptr))
- return GIT_NOTFOUND;
+ return GIT_ENOTFOUND;
return error;
}