forked from qt-creator/qt-creator
VCS: Append newlines to system messages in output pane
Change-Id: I3ca2d2e90ea0a97dd75feb7d1f8220564a138fb5 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
995a464f46
commit
a2797ec80e
@@ -2916,9 +2916,9 @@ bool GitClient::getCommitData(const FilePath &workingDirectory,
|
||||
static inline QString msgCommitted(const QString &amendSHA1, int fileCount)
|
||||
{
|
||||
if (amendSHA1.isEmpty())
|
||||
return GitClient::tr("Committed %n files.", nullptr, fileCount) + '\n';
|
||||
return GitClient::tr("Committed %n files.", nullptr, fileCount);
|
||||
if (fileCount)
|
||||
return GitClient::tr("Amended \"%1\" (%n files).", nullptr, fileCount).arg(amendSHA1) + '\n';
|
||||
return GitClient::tr("Amended \"%1\" (%n files).", nullptr, fileCount).arg(amendSHA1);
|
||||
return GitClient::tr("Amended \"%1\".").arg(amendSHA1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user