mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-27 08:28:50 +02:00
whoops messed up rebase
This commit is contained in:
parent
a1b1b0b31b
commit
647bba9903
2 changed files with 6 additions and 0 deletions
|
@ -861,7 +861,10 @@ GitEngine.prototype.rebase = function(targetSource, currentLocation) {
|
|||
|
||||
// it's not in the set, so we need to rebase this commit
|
||||
toRebaseRough.push(popped);
|
||||
toRebaseRough.sort(this.idSortFunc);
|
||||
toRebaseRough.reverse();
|
||||
// keep searching
|
||||
pQueue = pQueue.concat(popped.get('parents'));
|
||||
}
|
||||
|
||||
return this.rebaseFinish(toRebaseRough, stopSet, targetSource, currentLocation);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue