• Show log

    Commit

  • Hash : 3b5f7954
    Author : Russell Belfer
    Date : 2013-10-21T13:42:42

    Create git_diff_line and extend git_diff_hunk
    
    Instead of having functions with so very many parameters to pass
    hunk and line data, this takes the existing git_diff_hunk struct
    and extends it with more hunk data, plus adds a git_diff_line.
    Those structs are used to pass back hunk and line data instead of
    the old APIs that took tons of parameters.
    
    Some work that was previously only being done for git_diff_patch
    creation (scanning the diff content for exact line counts) is now
    done for all callbacks, but the performance difference should not
    be noticable.
    

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