Commits

bitsquid committed 8243372

Remove merge source files after successful merge.

  • Participants
  • Parent commits bb560a5

Comments (0)

Files changed (1)

File json_merge/Program.cs

                         Hashtable result = JsonDiff.Merge(parent, theirs, mine);
                         Save(result, args[i + 4]);
                     }
+
+                    // Remove source files (should their be an option for this?)
+                    File.Delete(args[i + 1]);
+                    File.Delete(args[i + 2]);
+                    File.Delete(args[i + 3]);
                     i += 5;
                 }
                 else if (args[i] == "-help")