diff options
Diffstat (limited to 'src/plugins/git/mergetool.cpp')
-rw-r--r-- | src/plugins/git/mergetool.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/plugins/git/mergetool.cpp b/src/plugins/git/mergetool.cpp index 511a762acf..8a224f09a7 100644 --- a/src/plugins/git/mergetool.cpp +++ b/src/plugins/git/mergetool.cpp @@ -235,6 +235,13 @@ void MergeTool::readData() prompt(tr("Unchanged File"), tr("Was the merge successful?")); } else if (m_line.startsWith("Continue merging")) { prompt(tr("Continue Merging"), tr("Continue merging other unresolved paths?")); + } else if (m_line.startsWith("Hit return")) { + QMessageBox::warning( + Core::ICore::dialogParent(), tr("Merge Tool"), + tr("<html><body><p>Merge tool is not configured.</p>\n" + "<p>Run git config --global merge.tool <tool> to configure it, " + "then try again</p></body></html>")); + m_process->kill(); } else if (m_line.endsWith('\n')) { // Skip unidentified lines m_line.clear(); |