[pathspec] implement git_pathspec_match_list_diff_entry
[pathspec] implement several functions