b44eaf8e07
- 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 |
||
---|---|---|
.. | ||
attributes_spec.rb | ||
blame_spec.rb | ||
blob_snippet_spec.rb | ||
blob_spec.rb | ||
branch_spec.rb | ||
commit_spec.rb | ||
compare_spec.rb | ||
diff_collection_spec.rb | ||
diff_spec.rb | ||
encoding_helper_spec.rb | ||
env_spec.rb | ||
hook_spec.rb | ||
index_spec.rb | ||
repository_spec.rb | ||
rev_list_spec.rb | ||
tag_spec.rb | ||
tree_spec.rb | ||
util_spec.rb |