summaryrefslogtreecommitdiff
path: root/src/git.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/git.rs')
-rw-r--r--src/git.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/git.rs b/src/git.rs
index 76ff326..9fa3e78 100644
--- a/src/git.rs
+++ b/src/git.rs
@@ -241,6 +241,7 @@ pub fn housekeeping(directory: &Path) -> Result<(), ShackleError> {
Command::new("git")
.arg("gc")
+ .arg("--prune=now")
.current_dir(directory)
.spawn()?
.wait()?;