All of lore.kernel.org
 help / color / mirror / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: Andreas Krey <a.krey@gmx.de>
Cc: Jeff King <peff@peff.net>, git@vger.kernel.org
Subject: Re: Big repo not shrinking on repack or gc?
Date: Wed, 14 Jan 2015 09:24:35 -0800	[thread overview]
Message-ID: <xmqqmw5lb7ho.fsf@gitster.dls.corp.google.com> (raw)
In-Reply-To: <20150114143946.GE13247@inner.h.apk.li> (Andreas Krey's message of "Wed, 14 Jan 2015 15:39:46 +0100")

Andreas Krey <a.krey@gmx.de> writes:

> On Wed, 14 Jan 2015 07:49:36 +0000, Jeff King wrote:
> ...
>> You don't need the "-f" here. Just "git repack -ad" should be enough
>> (and the "-f" probably makes it _way_ slower).
>
> Indeed, factor four.
>
> However, my expectation is that a repack -ad will remove all the
> old pack files, as what is in there is either referenced and put
> into the new pack, or dropped => there should be a single pack file
> afterwards.
>
> This is not the case. :-( (Done only with 1.8.2 due to
> lack of compilers for this box.)

Guess in the dark: "ls -l .git/objects/pack"
Do you see any .keep files?

  parent reply	other threads:[~2015-01-14 17:24 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-14 11:51 Big repo not shrinking on repack or gc? Andreas Krey
2015-01-14 12:49 ` Jeff King
2015-01-14 13:07   ` Andreas Krey
2015-01-14 14:39   ` Andreas Krey
2015-01-14 16:00     ` Andreas Krey
2015-01-14 17:24     ` Junio C Hamano [this message]
2015-01-15  1:23       ` Bryan Turner
2015-01-15  6:38         ` Andreas Krey
2015-01-15  7:05           ` Bryan Turner
2015-01-15  7:43             ` Andreas Krey
2015-01-15  8:56               ` Bryan Turner

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=xmqqmw5lb7ho.fsf@gitster.dls.corp.google.com \
    --to=gitster@pobox.com \
    --cc=a.krey@gmx.de \
    --cc=git@vger.kernel.org \
    --cc=peff@peff.net \
    /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.