diff options
author | Marc Strapetz <marc.strapetz@gmail.com> | 2016-03-16 11:38:02 +0100 |
---|---|---|
committer | Edward Thomson <ethomson@github.com> | 2016-03-23 17:16:38 -0400 |
commit | ae86aa5a68d584a6db0da320fd9b00c96cdaed47 (patch) | |
tree | 1d2ee70d6af07bed31efa79c2444aa037f406ddd /tests/diff/iterator.c | |
parent | 6bcddf88b3c7830d7c39727a025a81b638f8a265 (diff) | |
download | libgit2-ae86aa5a68d584a6db0da320fd9b00c96cdaed47.tar.gz |
iterator: test pathlist handling for directories
tree_iterator was only working properly for a pathlist containing
file paths. In case of directory paths, it didn't match children
which contradicts GIT_DIFF_DISABLE_PATHSPEC_MATCH and
is different from index_iterator and fs_iterator.
As a consequence head-to-index status reporting for a specific
directory did not work properly -- all files have been reported
as added.
Include additional tests.
Diffstat (limited to 'tests/diff/iterator.c')
0 files changed, 0 insertions, 0 deletions