diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2023-01-20 22:53:32 +0000 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2023-01-20 22:53:32 +0000 |
commit | 667c35304885055a3cf326a9e2e7920cb91cbdb1 (patch) | |
tree | 5e9c2b5ec8fca4cdfaf3e85c0a3153526d330f0c | |
parent | 2347eb3263c49723d539ba84959aca3a445de509 (diff) | |
download | libgit2-667c35304885055a3cf326a9e2e7920cb91cbdb1.tar.gz |
push: use resolved oid as the source
211c97195e2ebcf68e27782715eb756823ad5a91 attempts to use the parsed OID
but inverted the arguments to `git_oid_cpy`.
-rw-r--r-- | src/libgit2/push.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libgit2/push.c b/src/libgit2/push.c index e1502d337..e25681870 100644 --- a/src/libgit2/push.c +++ b/src/libgit2/push.c @@ -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); } |