Skip to content

Commit

Permalink
Run git prune after applying patches
Browse files Browse the repository at this point in the history
  • Loading branch information
Machine-Maker committed Jan 11, 2022
1 parent 5cfef1b commit 8d1ece9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions paperweight-lib/src/main/kotlin/tasks/ApplyGitPatches.kt
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ fun ControllableOutputTask.applyGitPatches(
}
}
} finally {
git("prune").run() // cleanup old git objects
tempDir.deleteRecursively()
}
}
Expand Down

0 comments on commit 8d1ece9

Please sign in to comment.