• Timothy Andrew's avatar
    Fix ordering of commits in the network graph. · a7e67604
    Timothy Andrew authored
    - We upgraded `rugged` to 0.25.1.1 in !10286 for %9.1
    
    - Prior to this upgrade, the default sort order for commits returned by
      `Gitlab::Git::Repository#find_commits` was `Rugged::SORT_DATE`, which the
      graph relied on.
    
    - While upgrading `rugged`, the MR also changed this default to
      `Rugged::SORT_NONE`, which broke commit ordering in the graph.
    
    - This commit adds an option to `Gitlab::Git::Repository#find_commits` to sort
      by date, and changes the graph builder `Network::Graph` so it explictly
      requests the `:date` sort order
    a7e67604
Name
Last commit
Last update
..
commit.rb Loading commit data...
graph.rb Loading commit data...