diff options
Diffstat (limited to 'tests-clar/diff')
-rw-r--r-- | tests-clar/diff/tree.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests-clar/diff/tree.c b/tests-clar/diff/tree.c index 902531530..e86f8d538 100644 --- a/tests-clar/diff/tree.c +++ b/tests-clar/diff/tree.c @@ -10,6 +10,8 @@ static diff_expects expect; void test_diff_tree__initialize(void) { GIT_INIT_STRUCTURE(&opts, GIT_DIFF_OPTIONS_VERSION); + /* The default context lines is set by _INIT which we can't use here */ + opts.context_lines = 3; memset(&expect, 0, sizeof(expect)); |