diff options
author | Ben Straub <bs@github.com> | 2012-11-18 21:38:08 -0700 |
---|---|---|
committer | Ben Straub <bs@github.com> | 2012-11-27 13:17:45 -0800 |
commit | 2508cc66eb91597b12dc19721d9cea1f06e72107 (patch) | |
tree | 89e0ec2a924d9dc6b66461f462afbb999045ad27 /src/revwalk.c | |
parent | 469827812f95e979e3c6468567b2c9ed138a9849 (diff) | |
download | libgit2-2508cc66eb91597b12dc19721d9cea1f06e72107.tar.gz |
Rename ref and reflog apis for consistency
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 4fff238ca..236c94502 100644 --- a/src/revwalk.c +++ b/src/revwalk.c @@ -559,7 +559,7 @@ static int push_ref(git_revwalk *walk, const char *refname, int hide) { git_oid oid; - if (git_reference_name_to_oid(&oid, walk->repo, refname) < 0) + if (git_reference_name_to_id(&oid, walk->repo, refname) < 0) return -1; return push_commit(walk, &oid, hide); |