summaryrefslogtreecommitdiff
path: root/tests/diff/blob.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/blob.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/blob.c')
-rw-r--r--tests/diff/blob.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/diff/blob.c b/tests/diff/blob.c
index d1fff9c5b..527007965 100644
--- a/tests/diff/blob.c
+++ b/tests/diff/blob.c
@@ -26,7 +26,7 @@ void test_diff_blob__initialize(void)
g_repo = cl_git_sandbox_init("attr");
- cl_git_pass(git_diff_options_init(&opts, GIT_DIFF_OPTIONS_VERSION));
+ cl_git_pass(git_diff_init_options(&opts, GIT_DIFF_OPTIONS_VERSION));
opts.context_lines = 1;
memset(&expected, 0, sizeof(expected));