mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-28 17:00:04 +02:00
fixedsubtlely in rebase
This commit is contained in:
parent
1ec80eacf6
commit
d6e9b6a962
2 changed files with 3 additions and 3 deletions
|
@ -19,6 +19,7 @@ var InteractiveRebaseView = ContainedBase.extend({
|
|||
this.entryObjMap = {};
|
||||
|
||||
this.rebaseEntries = new RebaseEntryCollection();
|
||||
options.toRebase.reverse();
|
||||
_.each(options.toRebase, function(commit) {
|
||||
var id = commit.get('id');
|
||||
this.rebaseMap[id] = commit;
|
||||
|
@ -57,7 +58,6 @@ var InteractiveRebaseView = ContainedBase.extend({
|
|||
}
|
||||
}, this);
|
||||
|
||||
toRebase.reverse();
|
||||
this.deferred.resolve(toRebase);
|
||||
// garbage collection will get us
|
||||
this.$el.html('');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue