forked from qt-creator/qt-creator
Git: Replace msysGit with Git for Windows in comments
msysGit is obsolete Change-Id: Iaa2aee0de2e8280dcc060cdd26b41962fb38a112 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
38cd2736ea
commit
329c24ce3a
@@ -1137,7 +1137,7 @@ QList<FileData> DiffUtils::readPatch(const QString &patch, bool *ok)
|
||||
QList<FileData> fileDataList;
|
||||
|
||||
QString croppedPatch = patch;
|
||||
// Crop e.g. "-- \n1.9.4.msysgit.0\n\n" at end of file
|
||||
// Crop e.g. "-- \n2.10.2.windows.1\n\n" at end of file
|
||||
const QRegExp formatPatchEndingRegExp(QLatin1String("(\\n-- \\n\\S*\\n\\n$)"));
|
||||
const int pos = formatPatchEndingRegExp.indexIn(patch);
|
||||
if (pos != -1)
|
||||
|
||||
Reference in New Issue
Block a user