Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
44d3372e
Unverified
Commit
44d3372e
authored
Feb 27, 2023
by
Edward Thomson
Committed by
GitHub
Feb 27, 2023
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #6506 from libgit2/ethomson/zero_update_tips
remote: always populate old id in update tips
parents
8a871d13
cd40b918
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
src/libgit2/remote.c
+1
-1
No files found.
src/libgit2/remote.c
View file @
44d3372e
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment