[PATCH] D101878: [git-clang-format] Do not apply clang-format to symlinks

Marek Kurdej via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed May 5 13:54:16 PDT 2021


curdeius accepted this revision.
curdeius added a comment.
This revision is now accepted and ready to land.

LGTM but let's wait a day or two before landing, so that others can chime in.
Btw, do you have commit rights? If no, please provide "Name <email>" for commit attribution.



================
Comment at: clang/tools/clang-format/git-clang-format:345
+  for filename in list(dictionary.keys()):
+    print(os.getcwd())
+    if os.path.islink(filename):
----------------
pirama wrote:
> curdeius wrote:
> > Is this print supposed to stay or is it a remnant of print-debugging?
> Oops, can't believe it slipped through.  Sorry about that.
No worries, the review serves its purpose!


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D101878/new/

https://reviews.llvm.org/D101878



More information about the cfe-commits mailing list