mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-29 20:42:23 +00:00
Merge pull request #185 from chobie/development
fix git_otype typo when calling `git_odb_read_header`.
This commit is contained in:
commit
b12b77231f
@ -444,7 +444,7 @@ int git_odb_read_header(size_t *len_p, git_otype *type_p, git_odb *db, const git
|
|||||||
return error;
|
return error;
|
||||||
|
|
||||||
*len_p = object->raw.len;
|
*len_p = object->raw.len;
|
||||||
*type_p = object->raw.len;
|
*type_p = object->raw.type;
|
||||||
git_odb_object_close(object);
|
git_odb_object_close(object);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user