From: Andy Parkins <andyparkins@gmail.com>
To: git@vger.kernel.org
Cc: Nicolas Pitre <nico@cam.org>
Subject: Re: .git grows after git-gc?
Date: Tue, 24 Apr 2007 15:35:30 +0100 [thread overview]
Message-ID: <200704241535.32623.andyparkins@gmail.com> (raw)
In-Reply-To: <alpine.LFD.0.98.0704240939360.12375@xanadu.home>
On Tuesday 2007 April 24, Nicolas Pitre wrote:
Thank you for your thorough explanation.
> Now when you repack, this parameter won't be used by default unless
> you have repack.usedeltabaseoffset set to true in your config, which
> will cause a small increase in pack size.
That sounds like it could easily be it. I thought I had usedeltabaseoffset
turned on ages ago; but it turns out (while investigating this strange
behaviour) what I actually had turned on was "usedelatabaseoffset".
Doh!
> I think that (2) is the most probable cause of repack growth in your
> case. Just try:
>
> git config --global repack.usedeltabaseoffset true
> git gc
>
> and you should get that 2MB back, possibly a bit more.
Strangely enough - I didn't - stayed at 97MB. It's probably (1) then.
Thanks for your time. You've helped me find a typo in my config even if I
didn't get my 2MB back :-)
Andy
--
Dr Andy Parkins, M Eng (hons), MIET
andyparkins@gmail.com
next prev parent reply other threads:[~2007-04-24 14:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-24 13:31 .git grows after git-gc? Andy Parkins
2007-04-24 14:00 ` Nicolas Pitre
2007-04-24 14:35 ` Andy Parkins [this message]
2007-04-24 14:56 ` 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=200704241535.32623.andyparkins@gmail.com \
--to=andyparkins@gmail.com \
--cc=git@vger.kernel.org \
--cc=nico@cam.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.