diff options
author | Matt Clay <matt@mystile.com> | 2023-03-13 15:29:09 -0700 |
---|---|---|
committer | Matt Clay <matt@mystile.com> | 2023-03-15 13:08:14 -0700 |
commit | 86ebd55a3cd48a8af1a284acfdedbcb28c83bcf9 (patch) | |
tree | f9b6cb817ef21d3b4fbbc36c51d226d78e80505d /test/lib/ansible_test/_internal/ci/local.py | |
parent | 4461de15deed01cf05486027ac1cf250c51e3dd5 (diff) | |
download | ansible-86ebd55a3cd48a8af1a284acfdedbcb28c83bcf9.tar.gz |
[stable-2.14] ansible-test - Update git diff handling (#80202)
This change allows ansible-test to work with newer versions of git on AZP..
(cherry picked from commit bad8843124a50493141a3e3d7920353239021389)
Co-authored-by: Matt Clay <matt@mystile.com>
Diffstat (limited to 'test/lib/ansible_test/_internal/ci/local.py')
-rw-r--r-- | test/lib/ansible_test/_internal/ci/local.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lib/ansible_test/_internal/ci/local.py b/test/lib/ansible_test/_internal/ci/local.py index fef5435bb2..4b9ab13ef7 100644 --- a/test/lib/ansible_test/_internal/ci/local.py +++ b/test/lib/ansible_test/_internal/ci/local.py @@ -63,8 +63,8 @@ class Local(CIProvider): return prefix - def get_base_branch(self) -> str: - """Return the base branch or an empty string.""" + def get_base_commit(self, args: CommonConfig) -> str: + """Return the base commit or an empty string.""" return '' def detect_changes(self, args: TestConfig) -> t.Optional[list[str]]: |