[all-commits] [llvm/llvm-project] 0c0b5a: [clang-format] Handle spaces in filename paths in ...

Selim Keles via All-commits all-commits at lists.llvm.org
Fri Apr 18 19:42:43 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0c0b5abff7ebedde53ccb84a04dadb00b9b91f2b
      https://github.com/llvm/llvm-project/commit/0c0b5abff7ebedde53ccb84a04dadb00b9b91f2b
  Author: Selim Keles <mehmetselimkeles at outlook.com>
  Date:   2025-04-18 (Fri, 18 Apr 2025)

  Changed paths:
    M clang/tools/clang-format/clang-format-diff.py

  Log Message:
  -----------
  [clang-format] Handle spaces in filename paths in clang-format-diff.py (#135779)

This PR resolves an issue in clang-format-diff.py where
filenames containing spaces were not correctly extracted from Git diffs.
Due to the previous regex implementation, filenames were being
truncated, causing the script to fail when processing diffs with such
filenames.

Fixes #135619.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list