News for hackers. Stuff that matters.
Re:I put all 8,642 Spanish laws in Git – every reform is a c... by Meneth on Saturday March 28, 2026 @09:09AM (#47554264)
It seems the commits aren't in proper date order. Here are some newer changes, placed before the latest commits: https://github.com/EnriqueLop/legalize-es/commits/master/?af...
Re:I put all 8,642 Spanish laws in Git – every reform is a c... by forgotpwd16 on Saturday March 28, 2026 @11:14AM (#47555321)
It's related to commits actually having a parent-child structure (forming a graph) and timestamps (commit/author) being metadata. So commits 1->2->3->4 could be modified to have timestamps 1->3->2->4. I know GitHub prefers sorting with author over commit date, but don't know how topology is handled.
Re:I put all 8,642 Spanish laws in Git – every reform is a c... by codethief on Saturday March 28, 2026 @12:36PM (#47556135)
> It's related to commits actually having a parent-child structure (forming a graph) and timestamps (commit/author) being metadata.

Yeah, I think everyone is aware. It's just that the last couple dozen commits, to me, looked like commits had been created in chronological order, so that topological order == chronological order.

> I know GitHub prefers sorting with author over commit date, but don't know how topology is handled.

Commits are usually sorted topologically.