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