libgit2

git_index_get_unmerged_byindex

Version:

Get an unmerged entry from the index.

The returned entry is read-only and should not be modified of freed by the caller.

Signature

const git_index_entry_unmerged *git_index_get_unmerged_byindex(git_index *index, unsigned int n);

Parameters

In
index

an existing index object

unsigned int
In
n

the position of the entry

Returns

a pointer to the unmerged entry; NULL if out of bounds

Versions