commit efcae1c6b4f75d8d4ac062a029c8c2e038aec2f9 from: Stefan Sperling date: Thu Mar 07 11:46:59 2019 UTC unveil worktree in cmd_log(); fixes 'got log path/to/file' commit - 67ceb59d0a2b3340c3a221bacf86ccc0b85895ee commit + efcae1c6b4f75d8d4ac062a029c8c2e038aec2f9 blob - 37ac5aea53c971cc728dac25a9ad244e1801cdb5 blob + 378b382e22422238eba02865da2e3764be9905ed --- got/got.c +++ got/got.c @@ -844,7 +844,8 @@ cmd_log(int argc, char *argv[]) goto done; } - error = apply_unveil(repo_path, NULL); + error = apply_unveil(repo_path, + worktree ? got_worktree_get_root_path(worktree) : NULL); if (error) goto done;