Actions
Bug #851
openassets repo size
Status:
New
Priority:
Normal
Assignee:
-
Start date:
2016-08-09
Due date:
% Done:
0%
Estimated time:
Description
asset repo is too big due to unadequate file changes, big file add/remove in the history.
I found that one-liner that shows all the files in the history, sorted by size. It would be great to remove some of biggest and useless from the history (with git filter-branch).
git gc && join -e ERROR -a 2 -j 1 -o 2.1,2.3,1.2 --check-order <( git rev-list --objects --all | sort -k 1 ) <( git verify-pack -v .git/objects/pack/pack-*.idx | gawk '( NF == 5 && $2 == "blob" ){print}' | sort -k1 ) | sort -k2gr
Actions