mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-26 07:58:34 +02:00
working on rebase datesortfunc
This commit is contained in:
parent
984f139245
commit
1ec80eacf6
4 changed files with 45 additions and 30 deletions
|
@ -19,7 +19,6 @@ 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;
|
||||
|
@ -41,7 +40,7 @@ var InteractiveRebaseView = ContainedBase.extend({
|
|||
},
|
||||
|
||||
confirm: function() {
|
||||
this.hide();
|
||||
this.die();
|
||||
|
||||
// get our ordering
|
||||
var uiOrder = [];
|
||||
|
@ -58,6 +57,7 @@ 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