libgit2

git_merge_file_init_options

Version:

Initializes a git_merge_file_options with default values. Equivalent to creating an instance with GIT_MERGE_FILE_OPTIONS_INIT.

Signature

int git_merge_file_init_options(git_merge_file_options *opts, unsigned int version);

Parameters

In
opts

the git_merge_file_options instance to initialize.

unsigned int
In
version

the version of the struct; you should pass GIT_MERGE_FILE_OPTIONS_VERSION here.

Returns

int

Zero on success; -1 on failure.

Versions