From 5684b04011b5a7584c214a5efa1f3a9ddabaf9f1 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Mon, 13 Mar 2017 20:28:49 -0400 Subject: gc: merge prune and gc into single step pass --prune=all to gc to ensure that we properly cleanup unpacked and packed objects and don't have the weird bloating effect after a first pass, e.g.: $ asp disk-usage ==> Using 640K on disk. $ asp gc Nothing new to pack. $ asp disk-usage ==> Using 8.4M on disk. $ asp gc Nothing new to pack. $ asp disk-usage ==> Using 328K on disk. --- asp.in | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/asp.in b/asp.in index d22f81e..2e6805e 100644 --- a/asp.in +++ b/asp.in @@ -176,8 +176,7 @@ difflog() { } gc() { - git prune - git gc + git gc --prune=all } untrack() { -- cgit v1.2.3-54-g00ecf