mirror of
https://github.com/libgit2/libgit2.git
synced 2026-06-22 06:26:26 +00:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user