From 3afa8b7f9584eb166061fa5022d1c85bb8bab550 Mon Sep 17 00:00:00 2001
From: Till Toenshoff <toenshoff@me.com>
Date: Thu, 7 Sep 2023 17:58:44 +0200
Subject: [PATCH] fix: fixes linter to stay on release branch 2.4 (#1560)

* fix: fixes linter to stay on release branch 2.4
* fix: linter screams
---
 make/pre-commit.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/make/pre-commit.mk b/make/pre-commit.mk
index 39d054301..92735c71c 100644
--- a/make/pre-commit.mk
+++ b/make/pre-commit.mk
@@ -11,4 +11,4 @@ ifeq ($(wildcard $(PRE_COMMIT_CONFIG_FILE)),)
 	$(error Cannot find pre-commit config file $(PRE_COMMIT_CONFIG_FILE). Specify the config file via PRE_COMMIT_CONFIG_FILE variable)
 endif
 	env SKIP=$(SKIP) pre-commit run -a --show-diff-on-failure --config $(PRE_COMMIT_CONFIG_FILE)
-	git fetch origin main && gitlint --ignore-stdin --commits origin/main..HEAD
+	git fetch origin release-2.4 && gitlint --ignore-stdin --commits origin/release-2.4..HEAD