summaryrefslogtreecommitdiff
path: root/tests/diff/tree.c
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2014-04-29 14:30:15 -0700
committerRussell Belfer <rb@github.com>2014-05-02 09:21:33 -0700
commit7a2e56a3f6115c3a145e4f73d0aa8bea6dded899 (patch)
tree29ec64c825c4da68debdfe9d7e1aa0deb219bf86 /tests/diff/tree.c
parentb23b112dfe8eceb39eaaea2d5e60d971c4371aa0 (diff)
downloadlibgit2-7a2e56a3f6115c3a145e4f73d0aa8bea6dded899.tar.gz
Get rid of redundant git_diff_options_init fn
Since git_diff_init_options was introduced, remove this old fn.
Diffstat (limited to 'tests/diff/tree.c')
-rw-r--r--tests/diff/tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/diff/tree.c b/tests/diff/tree.c
index 582174b8b..6ab49fdb0 100644
--- a/tests/diff/tree.c
+++ b/tests/diff/tree.c
@@ -9,7 +9,7 @@ static diff_expects expect;
void test_diff_tree__initialize(void)
{
- cl_git_pass(git_diff_options_init(&opts, GIT_DIFF_OPTIONS_VERSION));
+ cl_git_pass(git_diff_init_options(&opts, GIT_DIFF_OPTIONS_VERSION));
memset(&expect, 0, sizeof(expect));