From 8e8a1923d2dc626bfff8f7e00a5daf73fe273dad Mon Sep 17 00:00:00 2001 From: Juliana Fajardini Date: Wed, 23 Sep 2026 13:07:49 -0300 Subject: [PATCH] clang-format: s/main/main-8.0.x in fn Reformat... ...CommitsOnBranch Since this is the 8.0.x branch. Part of Ticket: #9098 --- scripts/clang-format.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/clang-format.sh b/scripts/clang-format.sh index db55a2c628..5931da7ce1 100755 --- a/scripts/clang-format.sh +++ b/scripts/clang-format.sh @@ -556,8 +556,8 @@ function ReformatCommitsOnBranch { # CheckBranch below will also tell us there are no changes compared with # main, but let's make this foolproof and explicit here. local current_branch=$(git rev-parse --abbrev-ref HEAD) - if [ "$current_branch" == "main" ]; then - Die "Must not rewrite main branch history." + if [ "$current_branch" == "main-8.0.x" ]; then + Die "Must not rewrite main-8.0.x branch history." fi CheckBranch "--quiet"