unveil repository path in 'got rm'
diff --git a/got/got.c b/got/got.c
index 9580988..c37a9a2 100644
--- a/got/got.c
+++ b/got/got.c
@@ -1957,7 +1957,8 @@ cmd_rm(int argc, char *argv[])
if (error != NULL)
goto done;
- error = apply_unveil(NULL, 0, got_worktree_get_root_path(worktree));
+ error = apply_unveil(got_repo_get_path(repo), 1,
+ got_worktree_get_root_path(worktree));
if (error)
goto done;