git_diff_index_to_index

Create a diff with the difference between two index objects.

The first index will be used for the "old_file" side of the delta and the second index will be used for the "new_file" side of the delta.

@param diff Output pointer to a git_diff pointer to be allocated. @param repo The repository containing the indexes. @param old_index A git_index object to diff from. @param new_index A git_index object to diff to. @param opts Structure with options to influence diff or null for defaults.

Meta