Skip to content

Commit

Permalink
Fix patch generation using system line separator causing all patches …
Browse files Browse the repository at this point in the history
…to diff on windows (#39)
  • Loading branch information
Minecraftschurli authored Nov 9, 2023
1 parent cdbfe96 commit 519e6f3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public abstract class GenerateSourcePatches extends DefaultRuntime implements Wi
public GenerateSourcePatches() {
getOriginalPrefix().convention("a/");
getModifiedPrefix().convention("b/");
getLineEnding().convention(System.lineSeparator());
getLineEnding().convention("\n");
getShouldOutputVerboseLogging().convention(false);
getContextLines().convention(-1);
getShouldCreateAutomaticHeader().convention(true);
Expand Down

0 comments on commit 519e6f3

Please sign in to comment.