Skip to content

Commit

Permalink
Apply patches with rejects
Browse files Browse the repository at this point in the history
  • Loading branch information
Matyrobbrt committed Feb 8, 2025
1 parent 7127faf commit 5aa4f93
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public static void applyPatch(GitHub gh, GHPullRequest pr, Configuration configu
runner.saveCache("gradle", runner.resolveHome(".gradle/"));

runner.writeFile("__diff", diff);
runner.git("apply", "--ignore-whitespace", "--recount", "-C0", "__diff");
runner.git("apply", "--ignore-whitespace", "--recount", "-C0", "--reject", "__diff");
runner.exec("rm", "__diff");

if (!backport.postApplyCommands().isEmpty()) {
Expand Down

0 comments on commit 5aa4f93

Please # to comment.