BigW Consortium Gitlab
- Previously, we sorted commits by date, which seemed to work okay. - The one edge case where this failed was when multiple commits have the same commit date (for example: when a range of commits are cherry picked with a single command, they all have the same commit date [and different author dates]). - Commits with the same commit date would be sorted arbitrarily, and usually break the network graph. - This commit solves the problem by both sorting by date, and by sorting topographically (parents aren't displayed until all their children are displayed) - Include review comments from @adamniedzielski A more detailed explanation is present here: https://gitlab.com/gitlab-org/gitlab-ce/issues/30973#note_28706230
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
attributes_spec.rb | Loading commit data... | |
blame_spec.rb | Loading commit data... | |
blob_snippet_spec.rb | Loading commit data... | |
blob_spec.rb | Loading commit data... | |
branch_spec.rb | Loading commit data... | |
commit_spec.rb | Loading commit data... | |
compare_spec.rb | Loading commit data... | |
diff_collection_spec.rb | Loading commit data... | |
diff_spec.rb | Loading commit data... | |
encoding_helper_spec.rb | Loading commit data... | |
env_spec.rb | Loading commit data... | |
hook_spec.rb | Loading commit data... | |
index_spec.rb | Loading commit data... | |
repository_spec.rb | Loading commit data... | |
rev_list_spec.rb | Loading commit data... | |
tag_spec.rb | Loading commit data... | |
tree_spec.rb | Loading commit data... | |
util_spec.rb | Loading commit data... |