summaryrefslogtreecommitdiff
path: root/buildscripts/clang_format.py
diff options
context:
space:
mode:
authorJonathan Abrahams <jonathan@mongodb.com>2019-02-25 12:21:36 -0500
committerJonathan Abrahams <jonathan@mongodb.com>2019-02-25 13:14:13 -0500
commit4dbea5ed56d85b291fdf373a4100fce17704229b (patch)
tree8b26abf3d0ef8a0af493f310ee5808e9e5965f83 /buildscripts/clang_format.py
parent31a22be1ad2db8e5ea1688e9f51e4932c013e5ec (diff)
downloadmongo-4dbea5ed56d85b291fdf373a4100fce17704229b.tar.gz
SERVER-39309 - Fix linter calls to get_merge_base
Diffstat (limited to 'buildscripts/clang_format.py')
-rwxr-xr-xbuildscripts/clang_format.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildscripts/clang_format.py b/buildscripts/clang_format.py
index 2666efead5b..477b4750d99 100755
--- a/buildscripts/clang_format.py
+++ b/buildscripts/clang_format.py
@@ -403,7 +403,7 @@ def reformat_branch( # pylint: disable=too-many-branches,too-many-locals,too-ma
(commit_prior_to_reformat))
# We assume the target branch is master, it could be a different branch if needed for testing
- merge_base = repo.get_merge_base("master")
+ merge_base = repo.get_merge_base(["HEAD", "master"])
if not merge_base == commit_prior_to_reformat:
raise ValueError(