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 /tests-clar/stash/save.c | |
| parent | 469827812f95e979e3c6468567b2c9ed138a9849 (diff) | |
| download | libgit2-2508cc66eb91597b12dc19721d9cea1f06e72107.tar.gz | |
Rename ref and reflog apis for consistency
Diffstat (limited to 'tests-clar/stash/save.c')
| -rw-r--r-- | tests-clar/stash/save.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests-clar/stash/save.c b/tests-clar/stash/save.c index 4eaf2a3c1..f8b427814 100644 --- a/tests-clar/stash/save.c +++ b/tests-clar/stash/save.c @@ -193,7 +193,7 @@ void test_stash_save__cannot_stash_against_an_unborn_branch(void) git_reference *head; cl_git_pass(git_reference_lookup(&head, repo, "HEAD")); - cl_git_pass(git_reference_set_target(head, "refs/heads/unborn")); + cl_git_pass(git_reference_symbolic_set_target(head, "refs/heads/unborn")); cl_assert_equal_i(GIT_EORPHANEDHEAD, git_stash_save(&stash_tip_oid, repo, signature, NULL, GIT_STASH_DEFAULT)); |
