Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Straub <bs@github.com>2014-02-05 08:50:40 +0400
committerBen Straub <bs@github.com>2014-02-05 08:50:40 +0400
commit010cec3ac26ab8445cc8401fb312f60168916bda (patch)
tree813b120670ac04f5c18a5e28546fde36e44ba72c /tests/stash/save.c
parentc3ab1e5af4c43d1031969fbb12c559a55c5baf05 (diff)
Add reflog params to git_repository_detach_head
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));