Teach our check-DNS script to ignore temporary files (#27285)
A plain `grep` was occasionally attempting to grep temporaary files that were being created and deleted concurrently by other sanity check scripts, leading to TOCTOU problems. This now only searches indexed files (thanks for the suggestion, @ctiller!). We still need to exclude `third_party` since upb is not a submodule. `git grep` will ignore all submodules by default, so the other third_party subfolders were already excluded.pull/27182/head
parent
ce95fd2586
commit
b555b2f86b
1 changed files with 4 additions and 5 deletions
Loading…
Reference in new issue