• Show log

    Commit

  • Hash : b7107131
    Author : Russell Belfer
    Date : 2013-07-22T11:01:19

    git_reference_next_name must match git_reference_next
    
    The git_reference_next API silently skips invalid references when
    scanning the loose refs.  The git_reference_next_name API should
    skip the same ones even though it isn't creating the reference
    object.
    
    This adds a test with a an invalid loose reference and makes sure
    that both APIs skip the same entries and generate the same results.
    

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