http://git-wip-us.apache.org/repos/asf/brooklyn-client/blob/ba85cc55/big-to-small.sh ---------------------------------------------------------------------- diff --git a/big-to-small.sh b/big-to-small.sh deleted file mode 100755 index b7b109c..0000000 --- a/big-to-small.sh +++ /dev/null @@ -1,14 +0,0 @@ - -# lists files in history in size order, in big-to-small.gen.txt -# capped at 200 of the biggest blobs (generating about 3000 of the biggest size files in history) - -# however this does not show the former names of the blobs so if the same file is in multiple times this script will not currently show you all instances! - -pushd incubator-brooklyn -git rev-list --objects --all | sort -k 2 > ../TMP-allfileshas.txt -git gc && git verify-pack -v .git/objects/pack/pack-*.idx | egrep "^\w+ blob\W+[0-9]+ [0-9]+ [0-9]+$" | sort -k 3 -n -r | head -200 > ../TMP-bigobjects.txt -for SHA in `cut -f 1 -d\ < ../TMP-bigobjects.txt`; do echo $(grep $SHA ../TMP-bigobjects.txt) $(grep $SHA ../TMP-allfileshas.txt) | awk '{print $1,$3,$7}' >> ../big-to-small.gen.txt; done; -popd - -rm TMP-* -
- [10/50] [abbrv] brooklyn-client git commit: tweaked lists of what... heneveld
- [18/50] [abbrv] brooklyn-client git commit: make new repos comman... heneveld
- [40/50] [abbrv] brooklyn-client git commit: incubator up-to-date heneveld
- [43/50] [abbrv] brooklyn-client git commit: Merge remote-tracking... heneveld
- [28/50] [abbrv] brooklyn-client git commit: figured out the bash-... heneveld
- [49/50] [abbrv] brooklyn-client git commit: don't fail if there a... heneveld
- [24/50] [abbrv] brooklyn-client git commit: rename big-to-small a... heneveld
- [29/50] [abbrv] brooklyn-client git commit: updated incubator to ... heneveld
- [48/50] [abbrv] brooklyn-client git commit: point to last commit ... heneveld
- [26/50] [abbrv] brooklyn-client git commit: don't put sandbox/mob... heneveld
- [22/50] [abbrv] brooklyn-client git commit: rename big-to-small a... heneveld
- [07/50] [abbrv] brooklyn-client git commit: use `comm` instead of... heneveld
- [46/50] [abbrv] brooklyn-client git commit: Ensure incubator proj... heneveld
- [09/50] [abbrv] brooklyn-client git commit: optimize creation of ... heneveld
- [17/50] [abbrv] brooklyn-client git commit: update of generated f... heneveld
- [36/50] [abbrv] brooklyn-client git commit: update file lists wit... heneveld
- [42/50] [abbrv] brooklyn-client git commit: updated file lists heneveld
- [02/50] [abbrv] brooklyn-client git commit: latest generated file... heneveld
- [13/50] [abbrv] brooklyn-client git commit: the different generat... heneveld
- [16/50] [abbrv] brooklyn-client git commit: a few more big files ... heneveld
- [39/50] [abbrv] brooklyn-client git commit: updated whitelists us... heneveld
