Commit c02b99b64c7e1fa470f3b9a1980196aebafe825d

Stefan Sperling 2019-07-27T17:31:54

report_file_status() wants an on-disk path

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/lib/worktree.c b/lib/worktree.c
index a6aba5c..102a998 100644
--- a/lib/worktree.c
+++ b/lib/worktree.c
@@ -2459,7 +2459,7 @@ schedule_addition(const char *ondisk_path, struct got_fileindex *fileindex,
 		return err;
 	}
 
-	return report_file_status(ie, relpath, status_cb, status_arg, repo);
+	return report_file_status(ie, ondisk_path, status_cb, status_arg, repo);
 }
 
 const struct got_error *