• Show log

    Commit

  • Hash : 5b05f954
    Author : Carlos Martín Nieto
    Date : 2015-06-20T13:17:06

    merge: work around write-side racy protection when hacking the index
    
    As we attempt to replicate a situation in which an older checkout has
    put a file on disk with different filtering settings from us, set the
    timestamp on the entry and file to a second before we're performing the
    operation so the entry in the index counts as old.
    
    This way we can test that we're not looking at the on-disk file when the
    index has the entry and we detect it as clean.
    

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