From: "Øyvind Harboe" <oyvind.harboe@zylin.com>
To: "Johannes Schindelin" <Johannes.Schindelin@gmx.de>
Cc: git@vger.kernel.org
Subject: Re: Problems getting rid of large files using git-filter-branch
Date: Tue, 6 Jan 2009 23:36:39 +0100 [thread overview]
Message-ID: <c09652430901061436w36c013ep938e9cfba43140c9@mail.gmail.com> (raw)
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:
> 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
next prev parent reply other threads:[~2009-01-06 22:38 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-06 21:59 Problems getting rid of large files using git-filter-branch Øyvind Harboe
2009-01-06 22:20 ` Johannes Schindelin
2009-01-06 22:36 ` Øyvind Harboe [this message]
2009-01-07 10:07 ` Johannes Schindelin
2009-01-07 10:15 ` Øyvind Harboe
2009-01-07 12:45 ` Johannes Schindelin
2009-01-07 18:18 ` Sitaram Chamarty
2009-01-06 22:31 ` Nicolas Pitre
2009-01-06 22:41 ` Øyvind Harboe
2009-01-06 23:17 ` Stephen R. van den Berg
2009-01-07 0:56 ` Nicolas Pitre
2009-01-07 8:26 ` Øyvind Harboe
2009-01-07 15:02 ` Nicolas Pitre
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c09652430901061436w36c013ep938e9cfba43140c9@mail.gmail.com \
--to=oyvind.harboe@zylin.com \
--cc=Johannes.Schindelin@gmx.de \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).