A merge check judges the head merged into its trunk, and names the trunk commit (hq ADR 0323, issue 341) #271

Merged
mesh-admin merged 5 commits from feat/341-a-merge-check-judges-the-merge into main 2026-10-12 16:11:28 +00:00
Showing only changes of commit 25deb499bf - Show all commits
+1 -1
View File
@@ -85,7 +85,7 @@ func changedByMerge(ctx context.Context, run Runner, tree string, m TrunkMerge)
}
out, err := run(ctx, tree, "git", "diff", "--name-only", "--no-renames", m.Trunk, m.Merge)
if err != nil {
return nil
return nil // empty-on-error: the caller keeps the pull request's own list of changed files, the safe one
}
return strings.Fields(out)
}