mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-25 15:38:33 +02:00
Issue #179 consolidate rebase -i and rebase codepaths
This commit is contained in:
parent
a04ae67c0e
commit
d01f1806b4
1 changed files with 1 additions and 1 deletions
|
@ -2076,7 +2076,7 @@ GitEngine.prototype.rebaseInteractive = function(targetSource, currentLocation,
|
||||||
// but it will look similar.
|
// but it will look similar.
|
||||||
|
|
||||||
// first if we are upstream of the target
|
// first if we are upstream of the target
|
||||||
if (this.isUpstreamOf(currentLocation, targetSource)) {
|
if (this.isUpstreamOf(targetSource, currentLocation)) {
|
||||||
throw new GitError({
|
throw new GitError({
|
||||||
msg: intl.str('git-result-nothing')
|
msg: intl.str('git-result-nothing')
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue