summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgit-maintenance/store.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/git-maintenance/store.sh b/git-maintenance/store.sh
index 95a563b..03b324d 100755
--- a/git-maintenance/store.sh
+++ b/git-maintenance/store.sh
@@ -30,6 +30,9 @@ fi
# prevent recreation of existing data on same medium-part
git config gc.auto 0
+git pack-objects --all --unpacked --incremental --non-empty --local --compression=9 --pack-loose-unreachable .git/objects/pack/pack </dev/null
+git prune-packed
+
tmpfile="$(mktemp)"
PUBKEY=1KwpZECcrGWnM3AFVSbv3Xr5qguV4yG2sV
URLPFX="https://bico.media/$PUBKEY"