• Show log

    Commit

  • Hash : 1f35e89d
    Author : Russell Belfer
    Date : 2012-09-11T12:03:33

    Fix diff binary file detection
    
    In the process of adding tests for the max file size threshold
    (which treats files over a certain size as binary) there seem to
    be a number of problems in the new code with detecting binaries.
    This should fix those up, as well as add a test for the file
    size threshold stuff.
    
    Also, this un-deprecates `GIT_DIFF_LINE_ADD_EOFNL`, since I
    finally found a legitimate situation where it would be returned.
    

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