diff options
author | Edward Thomson <ethomson@github.com> | 2016-02-11 15:47:01 -0800 |
---|---|---|
committer | Edward Thomson <ethomson@github.com> | 2016-02-11 15:47:01 -0800 |
commit | 2f2129b1cea07a482aaef43b4b23f63be4c29418 (patch) | |
tree | fac507cf5de7ba022c71c22186236f6e033ed1e8 /tests/diff/iterator.c | |
parent | 460ae11f0a8178c5d5abc55574dc3e0e312a47ea (diff) | |
parent | 3679ebaef5436a662ad74819f6cbd2c1e76e6766 (diff) | |
download | libgit2-2f2129b1cea07a482aaef43b4b23f63be4c29418.tar.gz |
Merge pull request #3612 from arthurschreiber/arthur/fix-3173
Horrible fix for #3173.
Diffstat (limited to 'tests/diff/iterator.c')
-rw-r--r-- | tests/diff/iterator.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/diff/iterator.c b/tests/diff/iterator.c index eafb1b9da..8417e8ed4 100644 --- a/tests/diff/iterator.c +++ b/tests/diff/iterator.c @@ -380,7 +380,7 @@ static void index_iterator_test( iter_opts.start = start; iter_opts.end = end; - cl_git_pass(git_iterator_for_index(&i, index, &iter_opts)); + cl_git_pass(git_iterator_for_index(&i, repo, index, &iter_opts)); while (!(error = git_iterator_advance(&entry, i))) { cl_assert(entry); @@ -974,7 +974,7 @@ static void check_index_range( i_opts.start = start; i_opts.end = end; - cl_git_pass(git_iterator_for_index(&i, index, &i_opts)); + cl_git_pass(git_iterator_for_index(&i, repo, index, &i_opts)); cl_assert(git_iterator_ignore_case(i) == ignore_case); |