Open VulumeCode opened 5 years ago
I'm not able to reproduce this issue. Could you provide some screenshots and the expected correct ordering or a script that demonstrates the issue?
Also, what are you comparing against? I ask because I know that GitHub doesn't always handle sub-second commit ordering correctly.
History view, in order:
Search (including merges):
Also happens for a regular search:
I numbered the commits. I'm comparing against the regular history view of the sublime merge, there they are in the correct order.
Version info
Description
Git's time resolution is only 1 second. Having multiple commits per second seems to create problems for sorting the query results. This leads to a distorted view on history. It only appears to happen when branching and merging is involved.
Steps to reproduce
Write a script to change a file and commit it many times in a second, randomly branching and merging. In Sublime Merge look at the history, then search for the file. Notice that the commits are out of order.
Expected behavior
Commits in query results and in the regular view appear in the same order.