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.

Parameters

diff .git_diff**

Output pointer to a git_diff pointer to be allocated.

repo libgit2_d.types.git_repository*

The repository containing the indexes.

old_index libgit2_d.types.git_index*

A git_index object to diff from.

new_index libgit2_d.types.git_index*

A git_index object to diff to.

opts const(.git_diff_options)*

Structure with options to influence diff or null for defaults.

Meta