]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
ci: make format check use 6.0.x branch
authorVictor Julien <victor@inliniac.net>
Wed, 31 Mar 2021 13:20:14 +0000 (15:20 +0200)
committerVictor Julien <victor@inliniac.net>
Wed, 31 Mar 2021 13:20:14 +0000 (15:20 +0200)
scripts/clang-format.sh

index 86c3a8392c34fc9ae322c3bf23b86b2188561f88..7b4cc875398e083ff7c4c8d012afd36c2fdc4d57 100755 (executable)
@@ -342,7 +342,7 @@ function HelpCommand {
 # on master. If our branch has not been rebased on the latest master, this
 # would result in including all new commits on master!
 function FirstCommitOfBranch {
-    local first_commit=$(git rev-list origin/master..HEAD | tail -n 1)
+    local first_commit=$(git rev-list origin/master-6.0.x..HEAD | tail -n 1)
     echo $first_commit
 }