mirror of
https://github.com/libgit2/libgit2.git
synced 2026-01-25 02:56:17 +00:00
Merge pull request #6506 from libgit2/ethomson/zero_update_tips
remote: always populate old id in update tips
This commit is contained in:
@@ -1733,7 +1733,7 @@ static int update_ref(
|
||||
const git_remote_callbacks *callbacks)
|
||||
{
|
||||
git_reference *ref;
|
||||
git_oid old_id;
|
||||
git_oid old_id = GIT_OID_SHA1_ZERO;
|
||||
int error;
|
||||
|
||||
error = git_reference_name_to_id(&old_id, remote->repo, ref_name);
|
||||
|
||||
Reference in New Issue
Block a user