Commit Diff


commit - abb4604f00849a9e533df0e4cc00b900847ffb4a
commit + c02b99b64c7e1fa470f3b9a1980196aebafe825d
blob - a6aba5cfaa770be7c404689f1d89ba5d2926d971
blob + 102a99861c9de5f220afe199ba7068564daa11be
--- lib/worktree.c
+++ lib/worktree.c
@@ -2459,7 +2459,7 @@ schedule_addition(const char *ondisk_path, struct got_
 		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 *