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 <erwan.gouriou@linaro.org>
This commit is contained in:
Erwan Gouriou 2021-05-19 12:18:21 +02:00 committed by Kumar Gala
parent 2c61c06a0e
commit 2448cfa505

View file

@ -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"