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"