[MergeDiff] In cascade, only output the affected files

This commit is contained in:
Matt Nadareski
2016-06-10 13:42:56 -07:00
parent e6c4cd1c2b
commit ab094118cb

View File

@@ -383,7 +383,11 @@ namespace SabreTools
path = _outdir + (Path.GetDirectoryName(_inputs[j].Split('¬')[0]).Remove(0, _inputs[j].Split('¬')[1].Length));
}
Output.WriteDatfile(diffData, path, _logger);
// If we have anything but the first DAT, output (the first DAT is always complete)
if (j > 0)
{
Output.WriteDatfile(diffData, path, _logger);
}
}
}
// Output all entries with user-defined merge