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.
[ Parent
| on HN ]
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.