diff options
author | olpc user <olpc@xo-5d-f7-86.localdomain> | 2020-01-07 16:32:39 -0800 |
---|---|---|
committer | olpc user <olpc@xo-5d-f7-86.localdomain> | 2020-01-07 16:32:39 -0800 |
commit | 9a5d365758f1c5bb395523a1bf99a40f9300fd6d (patch) | |
tree | 9cb332fe2f29b412c4c5fb490ac1389ee4399f2d /git-maintenance/store.sh | |
parent | 8902f7a223c782e40c8869afed906712381f2519 (diff) | |
download | standingwithresilience-9a5d365758f1c5bb395523a1bf99a40f9300fd6d.tar.gz standingwithresilience-9a5d365758f1c5bb395523a1bf99a40f9300fd6d.zip |
fix for git-repack ingnoring objects sometimes
Diffstat (limited to 'git-maintenance/store.sh')
-rwxr-xr-x | git-maintenance/store.sh | 3 |
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" |