aboutsummaryrefslogtreecommitdiff
path: root/scripts/git/post-merge.git-hook
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/git/post-merge.git-hook')
-rwxr-xr-xscripts/git/post-merge.git-hook4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/git/post-merge.git-hook b/scripts/git/post-merge.git-hook
index eae4f999e7..b458630d26 100755
--- a/scripts/git/post-merge.git-hook
+++ b/scripts/git/post-merge.git-hook
@@ -36,8 +36,8 @@ check_for_script_update() {
}
cur_branch=$(git rev-parse --abbrev-ref HEAD)
-if [ "$cur_branch" != "master" ]; then
- echo "post-merge: Not a master branch. Skipping."
+if [ "$cur_branch" != "main" ]; then
+ echo "post-merge: Not a main branch. Skipping."
exit 0
fi