[all-commits] [llvm/llvm-project] b3dd90: [arcanist] rm -f for write protected temp files
Nick Desaulniers via All-commits
all-commits at lists.llvm.org
Mon Apr 17 13:19:25 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b3dd9041e650deefbba0c75cf2295c28010aedb2
https://github.com/llvm/llvm-project/commit/b3dd9041e650deefbba0c75cf2295c28010aedb2
Author: Nick Desaulniers <ndesaulniers at google.com>
Date: 2023-04-17 (Mon, 17 Apr 2023)
Changed paths:
M utils/arcanist/clang-format.sh
Log Message:
-----------
[arcanist] rm -f for write protected temp files
When running `arc diff` on a newly added file,
utils/arcanist/clang-format.sh is run. For new files there is no change,
but the script will bail. Without the use of the -f flag, we get
interactive prompts like:
rm: remove write-protected regular file '/tmp/tmp.ReMybrBw35'?
Reviewed By: MaskRay
Differential Revision: https://reviews.llvm.org/D148555
More information about the All-commits
mailing list