forked from qt-creator/qt-creator
Fix some typos
Change-Id: I3be73c2a4d256a0d28e863fd2517a4d7442b34d8 Reviewed-by: Mitch Curtis <mitch.curtis@digia.com> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
This commit is contained in:
@@ -3215,7 +3215,7 @@ bool GitClient::addAndCommit(const QString &repositoryDirectory,
|
||||
filesToReset.append(newFile);
|
||||
}
|
||||
} else if (state & UnmergedFile && checked) {
|
||||
QTC_ASSERT(false, continue); // There should not be unmerged files when commiting!
|
||||
QTC_ASSERT(false, continue); // There should not be unmerged files when committing!
|
||||
}
|
||||
|
||||
if (state == ModifiedFile && checked) {
|
||||
@@ -3231,7 +3231,7 @@ bool GitClient::addAndCommit(const QString &repositoryDirectory,
|
||||
} else if (state == CopiedFile && checked) {
|
||||
QTC_ASSERT(false, continue); // only is noticed after adding a new file to the index
|
||||
} else if (state == UnmergedFile && checked) {
|
||||
QTC_ASSERT(false, continue); // There should not be unmerged files when commiting!
|
||||
QTC_ASSERT(false, continue); // There should not be unmerged files when committing!
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -227,7 +227,7 @@ QString GitoriousRepositoryWizardPage::repositoryName() const
|
||||
|
||||
QUrl GitoriousRepositoryWizardPage::repositoryURL() const
|
||||
{
|
||||
// Find by name (as we sorted the the repositories)
|
||||
// Find by name (as we sorted the repositories)
|
||||
const QString repoName = repositoryName();
|
||||
foreach (const GitoriousRepository &r, m_projectPage->project()->repositories)
|
||||
if (r.name == repoName)
|
||||
|
||||
Reference in New Issue
Block a user