Merge pull request #6452 from libgit2/ethomson/oid_warning

push: use resolved oid as the source
This commit is contained in:
Edward Thomson
2023-01-20 23:16:44 +00:00
committed by GitHub

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);
}