• Show log

    Commit

  • Hash : 5f32c506
    Author : Edward Thomson
    Date : 2015-11-16T18:06:52

    racy: make git_index_read_index handle raciness
    
    Ensure that `git_index_read_index` clears the uptodate bit on
    files that it modifies.
    
    Further, do not propagate the cache from an on-disk index into
    another on-disk index.  Although this should not be done, as
    `git_index_read_index` is used to bring an in-memory index into
    another index (that may or may not be on-disk), ensure that we do
    not accidentally bring in these bits when misused.
    

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