summaryrefslogtreecommitdiff
path: root/buildscripts/linter
diff options
context:
space:
mode:
authorADAM David Alan Martin <adam.martin@10gen.com>2019-07-26 18:10:46 -0400
committerADAM David Alan Martin <adam.martin@10gen.com>2019-07-26 18:36:37 -0400
commitc9599d8610c3da0b7c3da65667aff821063cf5b9 (patch)
treede072020a116dc4471cb2913805e742624092568 /buildscripts/linter
parent9dd3058b8a07745cba090d27122619cb50acc7f3 (diff)
downloadmongo-c9599d8610c3da0b7c3da65667aff821063cf5b9.tar.gz
SERVER-41771 Use `clang-format-7.0.1` in our clang-format helper script
Update our clang-format config file to reflect the newer syntax. (cherry picked from commit 6654b5925db4686e0b5d923f532b90f45382205c)
Diffstat (limited to 'buildscripts/linter')
-rw-r--r--buildscripts/linter/git_base.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/buildscripts/linter/git_base.py b/buildscripts/linter/git_base.py
index 6af56ff29db..f7eaecae95c 100644
--- a/buildscripts/linter/git_base.py
+++ b/buildscripts/linter/git_base.py
@@ -25,6 +25,10 @@ class Repository(object): # pylint: disable=too-many-public-methods
"""Run a git commit command."""
return self._callgito("commit", args)
+ def git_checkout(self, args):
+ """Run a git checkout command."""
+ return self._callgito("checkout", args)
+
def git_diff(self, args):
"""Run a git diff command."""
return self._callgito("diff", args)