git: fix the case when empty cherry-pick is in the middle of sequence

IDEA-73548 was fixed a long time ago and solved the problem when empty cherry-pick was the only one (or the last).
However if an empty commit was in the middle of the queue, the rest of cherry-picking queue was ignored.
This commit is contained in:
Kirill Likhodedov
2017-02-07 11:51:06 +00:00
parent 6b3e8f81b2
commit a12db512a5
@@ -193,7 +193,6 @@ public class GitCherryPicker extends VcsCherryPicker {
}
else if (isNothingToCommitMessage(result)) {
alreadyPicked.add(commitWrapper);
return true;
}
else {
notifyError(result.getErrorOutputAsHtmlString(), commitWrapper, successfulCommits);