Skip to content

Commit 667c353

Browse files
committed
push: use resolved oid as the source
211c971 attempts to use the parsed OID but inverted the arguments to `git_oid_cpy`.
1 parent 2347eb3 commit 667c353

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libgit2/push.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ static int calculate_work(git_push *push)
395395
return -1;
396396
}
397397

398-
git_oid_cpy(git_object_id(obj), &spec->loid);
398+
git_oid_cpy(&spec->loid, git_object_id(obj));
399399
git_object_free(obj);
400400
}
401401

0 commit comments

Comments
 (0)