clang-format: s/main/main-8.0.x in fn Reformat...

...CommitsOnBranch

Since this is the 8.0.x branch.

Part of
Ticket: #9098
pull/16332/head
Juliana Fajardini 1 month ago committed by Victor Julien
parent 38ddcf524b
commit 8e8a1923d2

@ -556,8 +556,8 @@ function ReformatCommitsOnBranch {
# CheckBranch below will also tell us there are no changes compared with # CheckBranch below will also tell us there are no changes compared with
# main, but let's make this foolproof and explicit here. # main, but let's make this foolproof and explicit here.
local current_branch=$(git rev-parse --abbrev-ref HEAD) local current_branch=$(git rev-parse --abbrev-ref HEAD)
if [ "$current_branch" == "main" ]; then if [ "$current_branch" == "main-8.0.x" ]; then
Die "Must not rewrite main branch history." Die "Must not rewrite main-8.0.x branch history."
fi fi
CheckBranch "--quiet" CheckBranch "--quiet"

Loading…
Cancel
Save