Unverified Commit e41a0f7b by Patrick Steinhardt Committed by GitHub

Merge pull request #4824 from palmin/packbuilder-interesting-blob

fix check if blob is uninteresting when inserting tree to packbuilder
parents cceefcda b36cc7a4
...@@ -1676,7 +1676,7 @@ int insert_tree(git_packbuilder *pb, git_tree *tree) ...@@ -1676,7 +1676,7 @@ int insert_tree(git_packbuilder *pb, git_tree *tree)
break; break;
case GIT_OBJ_BLOB: 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; return error;
if (obj->uninteresting) if (obj->uninteresting)
continue; continue;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment