push: use resolved oid as the source

211c97195e attempts to use the parsed OID
but inverted the arguments to `git_oid_cpy`.
This commit is contained in:
Edward Thomson
2023-01-20 22:53:32 +00:00
parent 2347eb3263
commit 667c353048

View File

@@ -395,7 +395,7 @@ static int calculate_work(git_push *push)
return -1;
}
git_oid_cpy(git_object_id(obj), &spec->loid);
git_oid_cpy(&spec->loid, git_object_id(obj));
git_object_free(obj);
}