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