libgit2

git_merge_driver_source_ancestor

Version:

Gets the ancestor of the file to merge.

Signature

const git_index_entry *git_merge_driver_source_ancestor(const git_merge_driver_source *src);

Parameters

In
src

the merge driver source

Returns

the ancestor or NULL if there was no ancestor

Versions