fixed rebase not rebasing in the order of commits in the tree

This commit is contained in:
Jack Bird 2023-07-23 20:15:45 +01:00
parent d2a280fdaa
commit 3ad9264557

View file

@ -2190,7 +2190,7 @@ GitEngine.prototype.getUpstreamDiffSetFromSet = function(stopSet, location) {
GitEngine.prototype.getUpstreamDiffFromSet = function(stopSet, location) {
var result = Graph.bfsFromLocationWithSet(this, location, stopSet);
result.sort(this.dateSortFunc);
result.reverse();
return result;
};