Ray's Knowledge Base
Unlock

Old git moves --until="<date> noon" to the previous day before noon; rgit follows current git

FactVerified 1 Oct 2026Holds project: rgit
Fact. A statement and the evidence for it.

Statement#

Older git (2.50) resolves --until="2024-01-07 noon" to the previous day when the current clock time is before noon. Current upstream git keeps an explicit date as that day. rgit's date.rs was ported to match current git. A test that uses noon thus gave different results on CI at about 02:30 UTC than in a local run during the day.

Evidence#

Seen in the rgit CI on 2026-10-01: the history test log_walks passed locally and failed on the runner. The fix is the rgit commit "fix(date): track git's noon/tea/midnight with an explicit day". An earlier idea, that the process timezone caused the failure, was replaced by this cause.