Skip to content

Commit 1356276

Browse files
committed
replace removed GIT_ENOTIMPLEMENTED with GIT_ERROR
1 parent 7c07dde commit 1356276

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sqlite/sqlite.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,9 @@ int sqlite_backend__read_prefix(git_oid *out_oid, void **data_p, size_t *len_p,
107107
git_oid_cpy(out_oid, short_oid);
108108

109109
return error;
110-
} else if (len < GIT_OID_HEXSZ) {
111-
return GIT_ENOTIMPLEMENTED;
112110
}
111+
/* not implemented (yet) */
112+
return GIT_ERROR;
113113
}
114114

115115
int sqlite_backend__exists(git_odb_backend *_backend, const git_oid *oid)

0 commit comments

Comments
 (0)