diff options
| author | Edward Thomson <ethomson@github.com> | 2016-02-25 15:11:14 -0500 |
|---|---|---|
| committer | Edward Thomson <ethomson@github.com> | 2016-03-23 17:08:37 -0400 |
| commit | 684b35c41b9166645e2edb9bc708aa7ddf9c1f24 (patch) | |
| tree | d36c6b41dcb8bdf086d097b41ff585d8202ac136 /tests/repo/iterator.c | |
| parent | ac05086c40266bdd4541c06d3be532ee118ed204 (diff) | |
| download | libgit2-684b35c41b9166645e2edb9bc708aa7ddf9c1f24.tar.gz | |
iterator: disambiguate reset and reset_range
Disambiguate the reset and reset_range functions. Now reset_range
with a NULL path will clear the start or end; reset will leave the
existing start and end unchanged.
Diffstat (limited to 'tests/repo/iterator.c')
| -rw-r--r-- | tests/repo/iterator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/repo/iterator.c b/tests/repo/iterator.c index c18e24a4f..5e5e4b551 100644 --- a/tests/repo/iterator.c +++ b/tests/repo/iterator.c @@ -59,7 +59,7 @@ static void expect_iterator_items( cl_assert_equal_i(expected_flat, count); - cl_git_pass(git_iterator_reset(i, NULL, NULL)); + cl_git_pass(git_iterator_reset(i)); count = 0; cl_git_pass(git_iterator_current(&entry, i)); |
