Commit 667c3530 by Edward Thomson

push: use resolved oid as the source

211c9719 attempts to use the parsed OID
but inverted the arguments to `git_oid_cpy`.
parent 2347eb32
...@@ -395,7 +395,7 @@ static int calculate_work(git_push *push) ...@@ -395,7 +395,7 @@ static int calculate_work(git_push *push)
return -1; return -1;
} }
git_oid_cpy(git_object_id(obj), &spec->loid); git_oid_cpy(&spec->loid, git_object_id(obj));
git_object_free(obj); git_object_free(obj);
} }
......
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