diff options
-rw-r--r-- | src/pack-objects.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pack-objects.c b/src/pack-objects.c index e9245143c..355b9e1e0 100644 --- a/src/pack-objects.c +++ b/src/pack-objects.c @@ -1666,7 +1666,7 @@ int insert_tree(git_packbuilder *pb, git_tree *tree) break; case GIT_OBJ_BLOB: - if ((error = retrieve_object(&obj, pb, git_tree_id(tree))) < 0) + if ((error = retrieve_object(&obj, pb, entry_id)) < 0) return error; if (obj->uninteresting) continue; |