summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/clang-format-diff.sh2
-rwxr-xr-xscripts/clang-tidy-diff.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/clang-format-diff.sh b/scripts/clang-format-diff.sh
index 2525259e9..fa858b9ab 100755
--- a/scripts/clang-format-diff.sh
+++ b/scripts/clang-format-diff.sh
@@ -12,7 +12,7 @@ fi
if [ -n "$TRAVIS_BRANCH" ]; then
BRANCH=$TRAVIS_BRANCH
else
- BRANCH=origin/master
+ BRANCH=origin/main
fi
MERGE_BASE=$(git merge-base $BRANCH HEAD)
diff --git a/scripts/clang-tidy-diff.sh b/scripts/clang-tidy-diff.sh
index c8d6b11a5..fbfa7350d 100755
--- a/scripts/clang-tidy-diff.sh
+++ b/scripts/clang-tidy-diff.sh
@@ -12,7 +12,7 @@ fi
if [ -n "$TRAVIS_BRANCH" ]; then
BRANCH=$TRAVIS_BRANCH
else
- BRANCH=origin/master
+ BRANCH=origin/main
fi
CLANG_TIDY=$(which clang-tidy)