From 841f2b21e652cacfa6c239486b767f61bfed89c4 Mon Sep 17 00:00:00 2001 From: Philippe Antoine Date: Tue, 17 Mar 2026 21:34:06 +0100 Subject: [PATCH] clang-format: fix the base branch --- scripts/clang-format.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/clang-format.sh b/scripts/clang-format.sh index b6cda68226..cb11f9e7c6 100755 --- a/scripts/clang-format.sh +++ b/scripts/clang-format.sh @@ -341,7 +341,7 @@ function HelpCommand { # on main. If our branch has not been rebased on the latest main, this # would result in including all new commits on main! function FirstCommitOfBranch { - start="${SURICATA_BRANCH:-origin/main}" + start="${SURICATA_BRANCH:-origin/main-8.0.x}" local first_commit=$(git rev-list $start..HEAD | tail -n 1) echo $first_commit }