From ecd848625b3073223f668ed048c80e10718ab8af Mon Sep 17 00:00:00 2001 From: Peter Cottle Date: Mon, 30 Jun 2014 20:50:01 -0700 Subject: [PATCH] Resolves #184 interactive rebase upstream check --- src/js/git/index.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/js/git/index.js b/src/js/git/index.js index dd467444..0522ef25 100644 --- a/src/js/git/index.js +++ b/src/js/git/index.js @@ -2075,13 +2075,6 @@ GitEngine.prototype.rebaseInteractive = function(targetSource, currentLocation, // there are a reduced set of checks now, so we can't exactly use parts of the rebase function // but it will look similar. - // first if we are upstream of the target - if (this.isUpstreamOf(targetSource, currentLocation)) { - throw new GitError({ - msg: intl.str('git-result-nothing') - }); - } - // now get the stop set var stopSet = Graph.getUpstreamSet(this, targetSource);