Skip to content

Commit

Permalink
Whoops, overwrite the rebase method accidentally.
Browse files Browse the repository at this point in the history
  • Loading branch information
Wei Wang committed Mar 27, 2013
1 parent fd0083e commit 2add8a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/controlbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ define(['d3'], function () {
this._commandHistory = [];
this._currentCommand = -1;
this._tempCommand = '';
this.rebase = {}; // to configure branches for rebase
this.rebaseConfig = {}; // to configure branches for rebase
}

ControlBox.prototype = {
Expand Down Expand Up @@ -338,7 +338,7 @@ define(['d3'], function () {

setTimeout(function () {
try {
if (args[0] === '--rebase' || control.rebase[currentBranch] === 'true') {
if (args[0] === '--rebase' || control.rebaseConfig[currentBranch] === 'true') {
isFastForward = local.rebase(rtBranch) === 'Fast-Forward';
} else {
isFastForward = local.merge(rtBranch) === 'Fast-Forward';
Expand Down

0 comments on commit 2add8a6

Please sign in to comment.