diff options
author | Dave Reisner <dreisner@archlinux.org> | 2017-03-13 20:28:49 -0400 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2017-03-25 08:08:37 -0400 |
commit | 5684b04011b5a7584c214a5efa1f3a9ddabaf9f1 (patch) | |
tree | f8e1cdef959ffe6cb67d8129f3e2d25e02989423 /asp.in | |
parent | aceefc28ca701feb87135a9643fd8d57223a550f (diff) | |
download | asp32-5684b04011b5a7584c214a5efa1f3a9ddabaf9f1.tar.xz |
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.
Diffstat (limited to 'asp.in')
-rw-r--r-- | asp.in | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -176,8 +176,7 @@ difflog() { } gc() { - git prune - git gc + git gc --prune=all } untrack() { |