Commit Diff


commit - 20ecf764dd3d1c272d02363f0211e01d241503eb
commit + 291c6f034645a25f5038a952a22e7062a3fcabfd
blob - eca73fef383405afa0f4a65f4e3965112f0005e5
blob + a6f98b4bcc53010b340d551d227b66613375ce83
--- regress/worktree/worktree_test.c
+++ regress/worktree/worktree_test.c
@@ -294,6 +294,11 @@ done:
 	if (ok == 6)
 		remove_worktree(worktree_path);
 	return (ok == 6);
+}
+
+static void
+process_cb(void *arg, const char *path)
+{
 }
 
 static int
@@ -328,7 +333,8 @@ worktree_checkout(const char *repo_path)
 	if (err != NULL)
 		goto done;
 
-	err = got_worktree_checkout_files(worktree, head_ref, repo);
+	err = got_worktree_checkout_files(worktree, head_ref, repo,
+	    process_cb, NULL);
 	if (err != NULL)
 		goto done;