]> git.proxmox.com Git - libgit2.git/commit
Add git_diff_options_init helper
authorRussell Belfer <rb@github.com>
Fri, 1 Nov 2013 17:18:03 +0000 (10:18 -0700)
committerRussell Belfer <rb@github.com>
Fri, 1 Nov 2013 17:20:51 +0000 (10:20 -0700)
commita5c16f3cfb92f1129ef13124fc70147480141d69
tree1f5e321b95d45d4808e61514d2aac353e2a46fb5
parent8e5a8ef86f1d528472884f737612083abda86e17
Add git_diff_options_init helper

Sometimes the static initializer for git_diff_options cannot be
used and since setting them to all zeroes doesn't actually work
quite right, this adds a new helper for that situation.

This also adds an explicit new value to the submodule settings
options to be used when those enums need static initialization.
include/git2/diff.h
include/git2/types.h
src/diff.c
tests-clar/diff/blob.c
tests-clar/diff/tree.c