diff options
author | Jonathan Abrahams <jonathan@mongodb.com> | 2019-02-25 12:21:36 -0500 |
---|---|---|
committer | Jonathan Abrahams <jonathan@mongodb.com> | 2019-02-25 13:14:13 -0500 |
commit | 4dbea5ed56d85b291fdf373a4100fce17704229b (patch) | |
tree | 8b26abf3d0ef8a0af493f310ee5808e9e5965f83 /buildscripts/clang_format.py | |
parent | 31a22be1ad2db8e5ea1688e9f51e4932c013e5ec (diff) | |
download | mongo-4dbea5ed56d85b291fdf373a4100fce17704229b.tar.gz |
SERVER-39309 - Fix linter calls to get_merge_base
Diffstat (limited to 'buildscripts/clang_format.py')
-rwxr-xr-x | buildscripts/clang_format.py | 2 |
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( |