Issue #179 consolidate rebase -i and rebase codepaths

This commit is contained in:
Peter Cottle 2014-06-29 15:57:44 -07:00
parent a04ae67c0e
commit d01f1806b4

View file

@ -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')
});