• Show log

    Commit

  • Hash : 7b453e7e
    Author : lhchavez
    Date : 2019-01-05T22:12:48

    Fix a bunch of warnings
    
    This change fixes a bunch of warnings that were discovered by compiling
    with `clang -target=i386-pc-linux-gnu`. It turned out that the
    intrinsics were not necessarily being used in all platforms! Especially
    in GCC, since it does not support __has_builtin.
    
    Some more warnings were gleaned from the Windows build, but I stopped
    when I saw that some third-party dependencies (e.g. zlib) have warnings
    of their own, so we might never be able to enable -Werror there.
    

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