add comment on big-to-small limitation explains why we weren't getting the reduction we expected, but now we should be good...
Project: http://git-wip-us.apache.org/repos/asf/brooklyn-client/repo Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-client/commit/3f1b31ae Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-client/tree/3f1b31ae Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-client/diff/3f1b31ae Branch: refs/heads/master Commit: 3f1b31ae34a635ceb78ef9075fd832fe39b840a8 Parents: ebb4c45 Author: Alex Heneveld <[email protected]> Authored: Wed Dec 16 19:57:59 2015 +0000 Committer: Alex Heneveld <[email protected]> Committed: Wed Dec 16 19:57:59 2015 +0000 ---------------------------------------------------------------------- big-to-small.sh | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/brooklyn-client/blob/3f1b31ae/big-to-small.sh ---------------------------------------------------------------------- diff --git a/big-to-small.sh b/big-to-small.sh index f910e76..b7b109c 100755 --- a/big-to-small.sh +++ b/big-to-small.sh @@ -2,6 +2,8 @@ # 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
