• Show log

    Commit

  • Hash : e28c3776
    Author : nulltoken
    Date : 2012-05-11T23:56:23

    object: make git_object_lookup() return GIT_ENOTFOUND when searching for an existing object by specifying an incorrect type
    
    This fix complements cb0ce16bbe8efe2098ef9cfffcf158301b036565 and cover the following additional use cases
    
     - retrieving an object which has been previously searched, found and cached
     - retrieving an object through an non ambiguous abbreviated id
    

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