Commit 0f5520f7 by Ben Straub

Fix error check

parent 2ff1a0d0
...@@ -313,7 +313,7 @@ static int local_download_pack( ...@@ -313,7 +313,7 @@ static int local_download_pack(
/* Add the commit and its tree */ /* Add the commit and its tree */
if ((error = git_packbuilder_insert(pack, &oid, NULL)) < 0 || if ((error = git_packbuilder_insert(pack, &oid, NULL)) < 0 ||
(error = git_packbuilder_insert_tree(pack, tree_oid))) (error = git_packbuilder_insert_tree(pack, tree_oid)) < 0)
goto cleanup; goto cleanup;
} }
} }
......
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