diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2014-01-15 15:51:31 +0400 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2014-01-15 16:32:43 +0400 |
commit | 0b28217bdae4fd64f5b6b8f4cb8a6139518d037e (patch) | |
tree | 68ff2ad34826372104b12ed6de6dd9fecb905151 /tests/stash | |
parent | 3c1b3ded12afa443158287c22b81fb9419680072 (diff) |
refs: remove the _with_log differentiation
Any well-behaved program should write a descriptive message to the
reflog whenever it updates a reference. Let's make this more prominent
by removing the version without the reflog parameters.
Diffstat (limited to 'tests/stash')
-rw-r--r-- | tests/stash/save.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/stash/save.c b/tests/stash/save.c index 3d92b26bd..293a89a97 100644 --- a/tests/stash/save.c +++ b/tests/stash/save.c @@ -174,7 +174,7 @@ void test_stash_save__cannot_stash_against_an_unborn_branch(void) { git_reference *head; - cl_git_pass(git_reference_symbolic_create(&head, repo, "HEAD", "refs/heads/unborn", 1)); + cl_git_pass(git_reference_symbolic_create(&head, repo, "HEAD", "refs/heads/unborn", 1, NULL, NULL)); cl_assert_equal_i(GIT_EUNBORNBRANCH, git_stash_save(&stash_tip_oid, repo, signature, NULL, GIT_STASH_DEFAULT)); |