[clang] [clang-format] Fix a serious bug in git-clang-format (PR #65723)

2023-09-08 Thread Owen Pan via cfe-commits
https://github.com/owenca closed https://github.com/llvm/llvm-project/pull/65723 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-format] Fix a serious bug in git-clang-format (PR #65723)

2023-09-08 Thread via cfe-commits
https://github.com/owenca updated https://github.com/llvm/llvm-project/pull/65723: >From cf7cca96897d392fcc9bef85c534261afb372d30 Mon Sep 17 00:00:00 2001 From: Owen Pan Date: Fri, 8 Sep 2023 01:16:33 -0700 Subject: [PATCH] [clang-format] Fix a serious bug in git-clang-format When applying for

[clang] [clang-format] Fix a serious bug in git-clang-format (PR #65723)

2023-09-08 Thread via cfe-commits
https://github.com/cor3ntin approved this pull request. Oh wow. Thanks for fixing that so quickly! https://github.com/llvm/llvm-project/pull/65723 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/c

[clang] [clang-format] Fix a serious bug in git-clang-format (PR #65723)

2023-09-08 Thread via cfe-commits
https://github.com/github-actions[bot] labeled https://github.com/llvm/llvm-project/pull/65723 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-format] Fix a serious bug in git-clang-format (PR #65723)

2023-09-08 Thread via cfe-commits
https://github.com/owenca review_requested https://github.com/llvm/llvm-project/pull/65723 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-format] Fix a serious bug in git-clang-format (PR #65723)

2023-09-08 Thread via cfe-commits
https://github.com/owenca created https://github.com/llvm/llvm-project/pull/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. >From eb3fc8f7c9f61650d458ffbd2952fa97e7c2e28d