commit 9743083996cb3beca1525614b4cf4b8580fb9245 from: Stefan Sperling date: Mon Mar 11 18:38:35 2019 UTC 'got update' also needs repo write access now commit - 47112f6094edb866f5f668554c53348bc427ac35 commit + 9743083996cb3beca1525614b4cf4b8580fb9245 blob - ef9b7d3b627e23b44594955f5c68ea31aff13220 blob + f97925f4fe36537839d38c32cf1a8f7cdffb29ec --- got/got.c +++ got/got.c @@ -502,7 +502,7 @@ cmd_update(int argc, char *argv[]) if (error != NULL) goto done; - error = apply_unveil(got_repo_get_path(repo), 1, + error = apply_unveil(got_repo_get_path(repo), 0, got_worktree_get_root_path(worktree)); if (error) goto done;