gitarena icon indicating copy to clipboard operation
gitarena copied to clipboard

Repository commits are in a seemingly random order

Open mellowagain opened this issue 3 years ago • 1 comments

The commit list is supposted to be sorted by commit date, from newest to oldest. At the moment, it seems to be in a random order with seemingly no consistency.

Screenshot

image

mellowagain avatar Jan 13 '22 11:01 mellowagain

I'm taking this issue as an opportunity to refactor the commit listing to use gitoxide instead of libgit2. I've got the code already ready on my local machine but I'm currently blocked by upstream:

In order to fully implement it with gitoxide's git-traverse crate (instead of libgit2's revwalk), I require a newer version of it which includes the SortingMode feature.

git-repository 0.14.0 includes this feature as it's currently available on the gitoxide repository, but it is as of now not yet released on crates.io.

This issue is blocked until upstream releases 0.14.0 on crates.io.

mellowagain avatar Jan 22 '22 22:01 mellowagain