Read a commit as the same as itself however short, and fit the pending assignments' tests to a mesh that asks no build (issue 1851, A9, A10)

This commit is contained in:
2026-10-22 19:05:04 +02:00
parent 323e1270cc
commit 25fdf9920e
4 changed files with 24 additions and 64 deletions
+3
View File
@@ -209,6 +209,9 @@ func sameCommitID(a, b string) bool {
if a == "" || b == "" {
return false
}
if a == b {
return true
}
n := min(len(a), len(b))
return n >= 7 && a[:n] == b[:n]
}