commit 728ed14252dde2c08f3ceee67554ee397ac7921d from: Omar Polo date: Tue Apr 19 15:09:57 2022 UTC simplify apply_unveil in cmd_patch: the worktree is not optional commit - c036d108ac767e1676aa3482997c193e0056c7e0 commit + 728ed14252dde2c08f3ceee67554ee397ac7921d blob - 879f86cbe255a2e3c3052fe57c5c21e6766198f4 blob + 0e1d78453eaa209a98462f34d8f8ec152e45e4c4 --- got/got.c +++ got/got.c @@ -7292,7 +7292,7 @@ cmd_patch(int argc, char *argv[]) goto done; error = apply_unveil(got_repo_get_path(repo), 0, - worktree ? got_worktree_get_root_path(worktree) : NULL); + got_worktree_get_root_path(worktree)); if (error != NULL) goto done;