Re: Problems getting rid of large files using git-filter-branch
- From
- Øyvind Harboe <oyvind.harboe@zylin.com>
- Date
- Jan 6, 2009, 22:36 UTC
- Message-ID
- <c09652430901061436w36c013ep938e9cfba43140c9@mail.gmail.com>
- In-Reply-To
- <alpine.DEB.1.00.0901062319070.30769@pacific.mpi-cbg.de>
On Tue, Jan 6, 2009 at 11:20 PM, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
Show 7 quoted lines
> Hi, > > On Tue, 6 Jan 2009, Øyvind Harboe wrote: > >> Q1: How can I figure out what it is in .git that takes so much space? > > If it is a pack that is taking so much space:
it is.
> > $ git verify-pack -v $PACK | grep -v "^chain " | sort -n -k 4
I have never used the git verify-pack command, but I'm pretty sure the "Terminated" string isn't the normal output :-)
$ git verify-pack -v .git/objects/pack/pack-1e039b82d8ae53ef5ec3614a3021466663cc70a4 Terminated
This is running git version 1.6.1. on CentOS on a virtual machine. I'm not quite sure how to debug this. I'm sure I've done something wrong when I installed git. I'm just a humble user of git trying to convert from cvs/svn.
> and then for the last few lines do a > > $ git rev-list --all --objects | grep $SHA1
I was able to run this procedure on a different machine than the server and I can then tell which objects take up all the space.
However, I'm unnerved by git verify-pack "Terminated"'ing on me above and I'll have to sort that out before I can think about using git in production.
Thanks for the pointers though! They definitely answered my questions!
> > Hth, > Dscho >
-- Øyvind Harboe http://www.zylin.com/zy1000.html ARM7 ARM9 XScale Cortex JTAG debugger and flash programmer