• Show log

    Commit

  • Hash : aa8f0101
    Author : Russell Belfer
    Date : 2013-04-29T08:59:46

    Add git_oid_strcmp and use it for git_oid_streq
    
    Add a new git_oid_strcmp that compares a string OID with a hex
    oid for sort order, and then reimplement git_oid_streq using it.
    This actually should speed up git_oid_streq because it only reads
    as far into the string as it needs to, whereas previously it would
    convert the whole string into an OID and then use git_oid_cmp.
    

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