aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/run_tests/python_utils/filter_pull_request_tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/run_tests/python_utils/filter_pull_request_tests.py')
-rw-r--r--tools/run_tests/python_utils/filter_pull_request_tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/run_tests/python_utils/filter_pull_request_tests.py b/tools/run_tests/python_utils/filter_pull_request_tests.py
index 032c0701e2..4ad981237b 100644
--- a/tools/run_tests/python_utils/filter_pull_request_tests.py
+++ b/tools/run_tests/python_utils/filter_pull_request_tests.py
@@ -128,7 +128,7 @@ def _get_changed_files(base_branch):
# Get file changes between branch and merge-base of specified branch
# Not combined to be Windows friendly
base_commit = check_output(["git", "merge-base", base_branch, "HEAD"]).rstrip()
- return check_output(["git", "diff", base_commit, "--name-only"]).splitlines()
+ return check_output(["git", "diff", base_commit, "--name-only", "HEAD"]).splitlines()
def _can_skip_tests(file_names, triggers):