• Show log

    Commit

  • Hash : 813f0802
    Author : Edward Thomson
    Date : 2018-07-01T15:14:36

    apply: validate workdir contents match index for BOTH
    
    When applying to both the index and the working directory, ensure that
    the index contents match the working directory.  This mirrors the
    requirement in `git apply --index`.
    
    This also means that - along with the prior commit that uses the working
    directory contents as the checkout baseline - we no longer expect
    conflicts during checkout.  So remove the special-case error handling
    for checkout conflicts.  (Any checkout conflict now would be because the
    file was actually modified between the start of patch application and
    the checkout.)
    

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