-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
1.7.2
-
None
-
Severity 3 - Minor
I've got two commits with one being a direct child of the other and no merging involved, but in "Date Order" they're being displayed in the wrong order (and therefore the graph doesn't connect).
Both commits have exactly the same timestamp in the "Commit Date" header so I think the sort algorithm could do with some improvement to cope with this case.
My guess is that it works like this at the moment:
- Sort by the "Commit Date" header
- If that's equal then sort by the "Date" header
Whereas if it worked like this it'd give the correct result:
- Sort by the "Commit Date" header
- If that's equal then sort by any direct parent/child relationships
- If there are no/missing relationships then sort by the "Date" header
(The reason for the "Date" headers being the reverse of what you might expect is that I did a rebase to swap the order of the commits)
- is related to
-
SRCTREEWIN-801 Branch diagram looks weird when ordered by date, and someones computer is incorrect.
-
- Closed
-
-
SRCTREEWIN-975 Improve History When Using Date Order in Repositories With Inserted Commits
- Gathering Interest