diff options
Diffstat (limited to 'src/revwalk.c')
| -rw-r--r-- | src/revwalk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/revwalk.c b/src/revwalk.c index a88fc84c4..a62576038 100644 --- a/src/revwalk.c +++ b/src/revwalk.c @@ -494,7 +494,7 @@ static int push_ref(git_revwalk *walk, const char *refname, int hide) { git_oid oid; - if (git_reference_lookup_oid(&oid, walk->repo, refname) < 0) + if (git_reference_name_to_oid(&oid, walk->repo, refname) < 0) return -1; return push_commit(walk, &oid, hide); |
