mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2554 Regression Test : Ignore line endings when using diff tool
This commit is contained in:
parent
7221efa7b5
commit
4c19be91ac
@ -60,8 +60,9 @@ bool RiaTextFileCompare::runComparison(const QString& baseFolder, const QString&
|
||||
fullFilePath = m_pathToDiffTool + "/" + fullFilePath;
|
||||
}
|
||||
|
||||
// Run compare recursively with '-r'
|
||||
QString args = "-r -u";
|
||||
// Command line arguments used when invoking 'diff'
|
||||
// See https://docs.freebsd.org/info/diff/diff.info.diff_Options.html
|
||||
QString args = "-r -u --strip-trailing-cr";
|
||||
|
||||
QString completeCommand = QString("\"%1\" %2 %3 %4").arg(fullFilePath).arg(baseFolder).arg(generatedFolder).arg(args);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user