From 9a5d365758f1c5bb395523a1bf99a40f9300fd6d Mon Sep 17 00:00:00 2001 From: olpc user Date: Tue, 7 Jan 2020 16:32:39 -0800 Subject: fix for git-repack ingnoring objects sometimes --- git-maintenance/store.sh | 3 +++ 1 file changed, 3 insertions(+) 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