diff options
author | ADAM David Alan Martin <adam.martin@10gen.com> | 2019-07-26 18:10:46 -0400 |
---|---|---|
committer | ADAM David Alan Martin <adam.martin@10gen.com> | 2019-07-26 18:36:37 -0400 |
commit | c9599d8610c3da0b7c3da65667aff821063cf5b9 (patch) | |
tree | de072020a116dc4471cb2913805e742624092568 /buildscripts/linter | |
parent | 9dd3058b8a07745cba090d27122619cb50acc7f3 (diff) | |
download | mongo-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.py | 4 |
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) |