caio.co/de/caca

Fix global feed generation

De Morgan still slaps me in the face during a refactor after 20+ years...
Id
60f0646bde8e972bcc257d140a740424e463dbc0
Author
Caio
Commit time
2024-03-08T10:06:53+01:00

Modified caca/src/repo/mod.rs

@@ -318,7 +318,7
// when at capacity, can't add anything if `rev`s tip
// is older than the oldest entry in the feed
if feed.len() == limit
- && feed.min().expect("feed is at capacity").time() >= rev.commit.author.time
+ && feed.min().expect("feed is at capacity").time() < rev.commit.author.time
{
return Ok(false);
}