• Show log

    Commit

  • Hash : c0b01b75
    Author : Edward Thomson
    Date : 2013-08-19T18:46:26

    Skip UTF-8 BOM in binary detection
    
    When a git_buf contains a UTF-8 BOM, the three bytes comprising
    that BOM are treated as unprintable characters.  For a small git_buf,
    the three BOM characters overwhelm the printable characters.  This
    is problematic when trying to check out a small file as the CR/LF
    filtering will not apply.
    

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