• Show log

    Commit

  • Hash : a5140f4d
    Author : Russell Belfer
    Date : 2013-07-24T17:11:49

    Fix rename detection for tree-to-tree diffs
    
    The performance improvements I introduced for rename detection
    were not able to run successfully for tree-to-tree diffs because
    the blob size was not known early enough and so the file signature
    always had to be calculated nonetheless.
    
    This change separates loading blobs into memory from calculating
    the signature.  I can't avoid having to load the large blobs into
    memory, but by moving it forward, I'm able to avoid the signature
    calculation if the blob won't come into play for renames.
    

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