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