From d01f1806b46eb2f312bd9380c10a3f60b7681b96 Mon Sep 17 00:00:00 2001 From: Peter Cottle Date: Sun, 29 Jun 2014 15:57:44 -0700 Subject: [PATCH] Issue #179 consolidate rebase -i and rebase codepaths --- src/js/git/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/git/index.js b/src/js/git/index.js index c6f55158..dd467444 100644 --- a/src/js/git/index.js +++ b/src/js/git/index.js @@ -2076,7 +2076,7 @@ GitEngine.prototype.rebaseInteractive = function(targetSource, currentLocation, // but it will look similar. // first if we are upstream of the target - if (this.isUpstreamOf(currentLocation, targetSource)) { + if (this.isUpstreamOf(targetSource, currentLocation)) { throw new GitError({ msg: intl.str('git-result-nothing') });