From f0fb1cfb64ac8582a80d56de46e7766468b6e6d8 Mon Sep 17 00:00:00 2001
From: chausman <chausman@nrao.edu>
Date: Thu, 25 May 2023 12:11:24 -0600
Subject: [PATCH] fix go building on merge requests

---
 ci/bin/generate-go-yaml.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ci/bin/generate-go-yaml.py b/ci/bin/generate-go-yaml.py
index fea601ab5..3bced414e 100755
--- a/ci/bin/generate-go-yaml.py
+++ b/ci/bin/generate-go-yaml.py
@@ -109,7 +109,7 @@ def main(argv):
         # Get list of files that have changed from commit SHA
         # git diff-tree --no-commit-id --name-only -r $CI_COMMIT_SHA
         sp = subprocess.run(
-            ["git", "diff-tree", "--no-commit-id", "--name-only", "-r", f"{commit_sha}"],
+            ["git", "diff-tree", "-m", "--no-commit-id", "--name-only", "-r", f"{commit_sha}"],
             stdout=subprocess.PIPE,
             universal_newlines=True,
         )
-- 
GitLab