• Show log

    Commit

  • Hash : 71d27358
    Author : Russell Belfer
    Date : 2012-07-19T10:23:45

    Fix bug with merging diffs with null options
    
    A diff that is created with a NULL options parameter could result
    in a NULL prefix string, but diff merge was unconditionally
    strdup'ing it.  I added a test to replicate the issue and then a
    new method that does the right thing with NULL values.
    

  • README.md

  • Writing Clar tests for libgit2

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

    https://github.com/tanoku/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.