Fixes for M-02 to M-14, G-01 to G-14, K-02 to K-04, X-04 to X-14, not yet reviewed

Committed before review so Windows and WSL builds can start.
Each fix was tested and mutation-checked here; the codex review
of each item is still to come, so tasks/BUGS.md stays unticked.

M-02 is mid-review: round 1 findings are fixed (apps/ely-mark/src/tally.rs).
K-01 stays deferred. The ElyMark window test mark-outside.sh failed
once at its crash-recovery step in the last run; not yet looked into.
This commit is contained in:
ZacharyZhang-NY committed 2026-10-10 02:29:19 -04:00
1 parent 6505f35669
commit d59159cea2
75 files changed
+1482 -354

No files matched your search

+6 -2
View File
@@ -18,7 +18,8 @@ pub struct Ref {
/// The commit it names, through an annotated tag.
pub commit: String,
pub subject: String,
pub at: i64,
/// When made; a tag on a blob has none.
pub at: Option<i64>,
/// An annotated tag's own message.
pub message: Option<String>,
}
@@ -103,7 +104,10 @@ pub fn parse(bytes: &[u8]) -> io::Result<Vec<Ref>> {
track: (!upstream.is_empty()).then(|| track(tracking)).flatten(),
commit: if annotated { peeled } else { object }.to_string(),
subject: if annotated { peeled_subject } else { subject }.to_string(),
at: at.parse().map_err(|_| bad(record))?,
at: match at {
"" => None,
at => Some(at.parse().map_err(|_| bad(record))?),
},
message: annotated.then(|| subject.to_string()),
});
}