Skip to content

Commit 036fe1a

Browse files
authored
Merge pull request libgit2#6452 from libgit2/ethomson/oid_warning
push: use resolved oid as the source
2 parents 2347eb3 + 667c353 commit 036fe1a

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)