Initialize diff options structure
In most cases, you can probably just use GIT_DIFF_OPTIONS_INIT
to
initialize the diff options structure, but in some cases that is not
going to work. You can call this function instead. Note that you
must pass both a pointer to the structure to be initialized and the
GIT_DIFF_OPTIONS_VERSION
value from the header you compiled with.
0 on success, negative on failure (such as unsupported version)