[all-commits] [llvm/llvm-project] 0fd0a0: [git-clang-format] Do not apply clang-format to sy...
pirama-arumuga-nainar via All-commits
all-commits at lists.llvm.org
Tue May 11 10:35:18 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0fd0a010a1ed2ce761d20bfc6378e5bbaa75c8de
https://github.com/llvm/llvm-project/commit/0fd0a010a1ed2ce761d20bfc6378e5bbaa75c8de
Author: Pirama Arumuga Nainar <pirama at google.com>
Date: 2021-05-11 (Tue, 11 May 2021)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/tools/clang-format/git-clang-format
Log Message:
-----------
[git-clang-format] Do not apply clang-format to symlinks
This fixes PR46992.
Git stores symlinks as text files and we should not format them even if
they have one of the requested extensions.
(Move the call to `cd_to_toplevel()` up a few lines so we can also print
the skipped symlinks during verbose output.)
Differential Revision: https://reviews.llvm.org/D101878
More information about the All-commits
mailing list