Skip to content

Commit 2448cfa

Browse files
erwangogalak
authored andcommitted
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 <[email protected]>
1 parent 2c61c06 commit 2448cfa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/series-push-hook.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ then
2222
# Handle delete
2323
:
2424
else
25-
# At each (forced) push, examine all commits since $remote/master
26-
base_commit=`git rev-parse $remote/master`
25+
# At each (forced) push, examine all commits since $remote/main
26+
base_commit=`git rev-parse $remote/main`
2727
range="$base_commit..$local_sha"
2828

2929
echo "Perform check patch"

0 commit comments

Comments
 (0)