summaryrefslogtreecommitdiff
path: root/tests-clar/revwalk/signatureparsing.c
diff options
context:
space:
mode:
authorBen Straub <bs@github.com>2012-11-18 21:38:08 -0700
committerBen Straub <bs@github.com>2012-11-27 13:17:45 -0800
commit2508cc66eb91597b12dc19721d9cea1f06e72107 (patch)
tree89e0ec2a924d9dc6b66461f462afbb999045ad27 /tests-clar/revwalk/signatureparsing.c
parent469827812f95e979e3c6468567b2c9ed138a9849 (diff)
downloadlibgit2-2508cc66eb91597b12dc19721d9cea1f06e72107.tar.gz
Rename ref and reflog apis for consistency
Diffstat (limited to 'tests-clar/revwalk/signatureparsing.c')
-rw-r--r--tests-clar/revwalk/signatureparsing.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests-clar/revwalk/signatureparsing.c b/tests-clar/revwalk/signatureparsing.c
index cf1d31e43..4f29dd14d 100644
--- a/tests-clar/revwalk/signatureparsing.c
+++ b/tests-clar/revwalk/signatureparsing.c
@@ -31,10 +31,10 @@ void test_revwalk_signatureparsing__do_not_choke_when_name_contains_angle_bracke
*/
cl_git_pass(git_reference_lookup(&ref, _repo, "refs/heads/haacked"));
- git_revwalk_push(_walk, git_reference_oid(ref));
+ git_revwalk_push(_walk, git_reference_target(ref));
cl_git_pass(git_revwalk_next(&commit_oid, _walk));
- cl_git_pass(git_commit_lookup(&commit, _repo, git_reference_oid(ref)));
+ cl_git_pass(git_commit_lookup(&commit, _repo, git_reference_target(ref)));
signature = git_commit_committer(commit);
cl_assert_equal_s("Yu V. Bin Haacked", signature->email);