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:
parent
2c61c06a0e
commit
2448cfa505
|
@ -22,8 +22,8 @@ then
|
||||||
# Handle delete
|
# Handle delete
|
||||||
:
|
:
|
||||||
else
|
else
|
||||||
# At each (forced) push, examine all commits since $remote/master
|
# At each (forced) push, examine all commits since $remote/main
|
||||||
base_commit=`git rev-parse $remote/master`
|
base_commit=`git rev-parse $remote/main`
|
||||||
range="$base_commit..$local_sha"
|
range="$base_commit..$local_sha"
|
||||||
|
|
||||||
echo "Perform check patch"
|
echo "Perform check patch"
|
||||||
|
|
Loading…
Reference in a new issue