Skip to content

Commit

Permalink
Run git gc after applying patches
Browse files Browse the repository at this point in the history
  • Loading branch information
Machine-Maker committed Jan 10, 2022
1 parent 5cfef1b commit 36e7356
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 36e7356

Please sign in to comment.