From 2448cfa5051331aa1d7c4b50c5184730cde46561 Mon Sep 17 00:00:00 2001 From: Erwan Gouriou Date: Wed, 19 May 2021 12:18:21 +0200 Subject: [PATCH] scripts: series-push-hook: Use main as base comparison branch Following master branch renaming to "main", update this script to use $remote/main as base comparison branch Signed-off-by: Erwan Gouriou --- scripts/series-push-hook.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/series-push-hook.sh b/scripts/series-push-hook.sh index 44922367f9..a87986323b 100755 --- a/scripts/series-push-hook.sh +++ b/scripts/series-push-hook.sh @@ -22,8 +22,8 @@ then # Handle delete : else - # At each (forced) push, examine all commits since $remote/master - base_commit=`git rev-parse $remote/master` + # At each (forced) push, examine all commits since $remote/main + base_commit=`git rev-parse $remote/main` range="$base_commit..$local_sha" echo "Perform check patch"