diff options
Diffstat (limited to 'src/odb.c')
-rw-r--r-- | src/odb.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -194,7 +194,7 @@ int git_odb__hashfd(git_oid *out, git_file fd, size_t size, git_otype type) } if ((error = git_hash_ctx_init(&ctx)) < 0) - return -1; + return error; hdr_len = git_odb__format_object_header(hdr, sizeof(hdr), size, type); |