summaryrefslogtreecommitdiff
path: root/tests/diff/drivers.c
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@microsoft.com>2015-04-29 11:58:10 -0400
committerEdward Thomson <ethomson@microsoft.com>2015-05-01 12:31:09 -0400
commit07bbc045c77d47e8eb245d599f0f753ed62fea9b (patch)
treed4432af330dbb324893e9509406c0dfc926c6e4b /tests/diff/drivers.c
parentedbfc52cdd8657371c53070c5e09b58e004bb67a (diff)
downloadlibgit2-07bbc045c77d47e8eb245d599f0f753ed62fea9b.tar.gz
git_path_dirload: use git_path_diriter
Diffstat (limited to 'tests/diff/drivers.c')
-rw-r--r--tests/diff/drivers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/diff/drivers.c b/tests/diff/drivers.c
index 8b12368ea..e3a0014db 100644
--- a/tests/diff/drivers.c
+++ b/tests/diff/drivers.c
@@ -186,7 +186,7 @@ void test_diff_drivers__builtins(void)
g_repo = cl_git_sandbox_init("userdiff");
- cl_git_pass(git_path_dirload("userdiff/files", 9, 0, 0, &files));
+ cl_git_pass(git_path_dirload(&files, "userdiff/files", 9, 0));
opts.interhunk_lines = 1;
opts.context_lines = 1;