aboutsummaryrefslogtreecommitdiff
path: root/infra/ci
diff options
context:
space:
mode:
Diffstat (limited to 'infra/ci')
-rwxr-xr-xinfra/ci/build.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/infra/ci/build.py b/infra/ci/build.py
index bf8dca86c..8de73636f 100755
--- a/infra/ci/build.py
+++ b/infra/ci/build.py
@@ -38,7 +38,7 @@ LANGUAGES_WITH_COVERAGE_SUPPORT = ['c', 'c++', 'go', 'jvm', 'rust']
def get_changed_files_output():
"""Returns the output of a git command that discovers changed files."""
branch_commit_hash = subprocess.check_output(
- ['git', 'merge-base', 'FETCH_HEAD', 'origin/HEAD']).strip().decode()
+ ['git', 'merge-base', 'HEAD', 'origin/HEAD']).strip().decode()
return subprocess.check_output(
['git', 'diff', '--name-only', branch_commit_hash + '..']).decode()