diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2014-11-07 09:28:41 -0500 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2014-11-07 09:28:41 -0500 |
commit | 4e1b3b3b7186b017223b8302a51289ff92ccba25 (patch) | |
tree | 5893fe2b801d96825582d8a461b50e80f4a2a43a /tests/diff/iterator.c | |
parent | dd83e6021261192ac143076c7784c654ed1ad33c (diff) | |
parent | 62a617dc683c1e73eebd0e1b6209f76748e67ed4 (diff) | |
download | libgit2-4e1b3b3b7186b017223b8302a51289ff92ccba25.tar.gz |
Merge pull request #2691 from libgit2/cmn/submodule-and-dir
submodules: stale module entries
Diffstat (limited to 'tests/diff/iterator.c')
-rw-r--r-- | tests/diff/iterator.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/diff/iterator.c b/tests/diff/iterator.c index 26f670cfa..6011c6a9b 100644 --- a/tests/diff/iterator.c +++ b/tests/diff/iterator.c @@ -586,7 +586,7 @@ static void workdir_iterator_test( git_repository *repo = cl_git_sandbox_init(sandbox); cl_git_pass(git_iterator_for_workdir( - &i, repo, GIT_ITERATOR_DONT_AUTOEXPAND, start, end)); + &i, repo, NULL, NULL, GIT_ITERATOR_DONT_AUTOEXPAND, start, end)); error = git_iterator_current(&entry, i); cl_assert((error == 0 && entry != NULL) || @@ -797,7 +797,7 @@ void test_diff_iterator__workdir_builtin_ignores(void) cl_git_mkfile("attr/sub/.git", "whatever"); cl_git_pass(git_iterator_for_workdir( - &i, repo, GIT_ITERATOR_DONT_AUTOEXPAND, "dir", "sub/sub/file")); + &i, repo, NULL, NULL, GIT_ITERATOR_DONT_AUTOEXPAND, "dir", "sub/sub/file")); cl_git_pass(git_iterator_current(&entry, i)); for (idx = 0; entry != NULL; ++idx) { @@ -832,7 +832,7 @@ static void check_wd_first_through_third_range( static const char *expected[] = { "FIRST", "second", "THIRD", NULL }; cl_git_pass(git_iterator_for_workdir( - &i, repo, GIT_ITERATOR_IGNORE_CASE, start, end)); + &i, repo, NULL, NULL, GIT_ITERATOR_IGNORE_CASE, start, end)); cl_git_pass(git_iterator_current(&entry, i)); for (idx = 0; entry != NULL; ++idx) { |