summaryrefslogtreecommitdiff
path: root/tests/stash/save.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/stash/save.c')
-rw-r--r--tests/stash/save.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/stash/save.c b/tests/stash/save.c
index 293a89a97..b5a793eef 100644
--- a/tests/stash/save.c
+++ b/tests/stash/save.c
@@ -196,7 +196,7 @@ void test_stash_save__cannot_stash_against_a_bare_repository(void)
void test_stash_save__can_stash_against_a_detached_head(void)
{
- git_repository_detach_head(repo);
+ git_repository_detach_head(repo, NULL, NULL);
cl_git_pass(git_stash_save(&stash_tip_oid, repo, signature, NULL, GIT_STASH_DEFAULT));