summaryrefslogtreecommitdiff
path: root/tests-clar/submodule
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2012-10-29 20:04:21 -0500
committerEdward Thomson <ethomson@edwardthomson.com>2012-10-29 20:04:21 -0500
commitf45ec1a076e2347ba5d63eeb2d158f87b612e5cb (patch)
tree2e2bebc12e64e6f48eabde6010bf775b3fc6cd6e /tests-clar/submodule
parent81eecc342b3580e9b05e501c8ee75c7e2e0dca1a (diff)
downloadlibgit2-f45ec1a076e2347ba5d63eeb2d158f87b612e5cb.tar.gz
index refactoring
Diffstat (limited to 'tests-clar/submodule')
-rw-r--r--tests-clar/submodule/status.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests-clar/submodule/status.c b/tests-clar/submodule/status.c
index 63073ceca..eec028c40 100644
--- a/tests-clar/submodule/status.c
+++ b/tests-clar/submodule/status.c
@@ -105,7 +105,7 @@ void test_submodule_status__ignore_none(void)
cl_git_pass(git_repository_index(&index, g_repo));
pos = git_index_find(index, "sm_changed_head");
cl_assert(pos >= 0);
- cl_git_pass(git_index_remove(index, pos));
+ cl_git_pass(git_index_remove(index, "sm_changed_head", 0));
cl_git_pass(git_index_write(index));
git_index_free(index);