[all-commits] [llvm/llvm-project] 743659: [clang-format] Fix a serious bug in git-clang-form...

Owen Pan via All-commits all-commits at lists.llvm.org
Fri Sep 8 15:05:36 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 743659be87daff4cc8861c525d4a6229d787ef14
      https://github.com/llvm/llvm-project/commit/743659be87daff4cc8861c525d4a6229d787ef14
  Author: Owen Pan <owenpiano at gmail.com>
  Date:   2023-09-08 (Fri, 08 Sep 2023)

  Changed paths:
    M clang/tools/clang-format/git-clang-format

  Log Message:
  -----------
  [clang-format] Fix a serious bug in git-clang-format (#65723)

When applying format changes to staged files, git-clang-format
erroneously checks out all files in the index and thus may overwrite
unstaged changes.

Fixes #65643.




More information about the All-commits mailing list