• Show log

    Commit

  • Hash : ae86aa5a
    Author : Marc Strapetz
    Date : 2016-03-16T11:38:02

    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.
    

  • README.md

  • Writing Clar tests for libgit2

    For information on the Clar testing framework and a detailed introduction please visit:

    https://github.com/vmg/clar

    • Write your modules and tests. Use good, meaningful names.

    • Make sure you actually build the tests by setting:

        cmake -DBUILD_CLAR=ON build/
    • Test:

        ./build/libgit2_clar
    • Make sure everything is fine.

    • Send your pull request. That’s it.