diff options
Diffstat (limited to 'src/libgit2/tree.c')
-rw-r--r-- | src/libgit2/tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libgit2/tree.c b/src/libgit2/tree.c index 9d3c67db0..0676192d3 100644 --- a/src/libgit2/tree.c +++ b/src/libgit2/tree.c @@ -425,7 +425,7 @@ int git_tree__parse_raw(void *_tree, const char *data, size_t size) entry->attr = attr; entry->filename_len = (uint16_t)filename_len; entry->filename = buffer; - git_oid_fromraw(&entry->oid, ((unsigned char *) buffer + filename_len + 1)); + git_oid_fromraw(&entry->oid, ((unsigned char *) buffer + filename_len + 1), GIT_OID_SHA1); } buffer += filename_len + 1; |