Re: Trying to use git-filter-branch to compress history by removing large, obsolete binary files
- From
Alex Riesen <raa.lkml@gmail.com>
- Date
- Oct 8, 2007, 06:15 UTC
- Message-ID
- <20071008061511.GA2859@steel.home>
- In-Reply-To
- <51419b2c0710071709s2f797df0u986447f5455f306d@mail.gmail.com>
Elijah Newren, Mon, Oct 08, 2007 02:09:50 +0200:
> On 10/7/07, Alex Riesen <raa.lkml@gmail.com> wrote: > > you missed something. Your example compresses to about 124k. > > What version of git are you running? I reran all the steps to which
git version 1.5.3.4.225.g31b973 (irrelevant custom modifications)
> you responded (repeated below for clarity) with git-1.5.3.3 and still > get 11MB. Also, you must have different filesystem extents than me > since an empty git repo takes 196k here[1], so I don't think any repo > is going to get down to 124k.
it is ext3. I do not install the hooks (~8k apparent, ~32k fs blocks) and never activate logs by default.
> # Use vi to remove the line referring to refs/original... > git reflog expire --all
another part of the suggestion re reflogs was to look into the logs, to check if expire actually removed anything. It seems to have been the culprit.