• Show log

    Commit

  • Hash : eefc32d5
    Author : Russell Belfer
    Date : 2013-09-16T12:54:40

    Bug fixes and cleanups
    
    This contains a few bug fixes and some header and API cleanups.
    
    The main API change is that filters should now use GIT_PASSTHROUGH
    to indicate that they wish to skip processing a file instead of
    GIT_ENOTFOUND.
    
    The bug fixes include a possible out-of-range buffer access in
    the ident filter, a filter ordering problem I introduced into the
    custom filter tests on Windows, and a filter buf NUL termination
    issue that was coming up on Linux.
    

  • 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.