efriedma added a comment. We should probably encourage people to use git-clang-format with git repositories. It naturally doesn't have this sort of fragility because it integrates with the repository more tightly.
================ Comment at: clang/tools/clang-format/clang-format-diff.py:41 + ' The filename contained in the diff is used unmodified' + ' to determine the source file to update') parser.add_argument('-p', metavar='NUM', default=0, ---------------- That isn't specific to -i. If you look more carefully at what the command is doing, it always goes back to the original source file. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D79054/new/ https://reviews.llvm.org/D79054 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits