diff options
author | Ben Straub <bs@github.com> | 2012-11-19 08:38:08 +0400 |
---|---|---|
committer | Ben Straub <bs@github.com> | 2012-11-28 01:17:45 +0400 |
commit | 2508cc66eb91597b12dc19721d9cea1f06e72107 (patch) | |
tree | 89e0ec2a924d9dc6b66461f462afbb999045ad27 /tests-clar/revwalk | |
parent | 469827812f95e979e3c6468567b2c9ed138a9849 (diff) |
Rename ref and reflog apis for consistency
Diffstat (limited to 'tests-clar/revwalk')
-rw-r--r-- | tests-clar/revwalk/signatureparsing.c | 4 |
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); |