From: "Lukas Sandström" <lukass@etek.chalmers.se>
To: git@vger.kernel.org
Cc: Marcel Holtmann <marcel@holtmann.org>
Subject: Re: Remove unneeded packs
Date: Sat, 12 Nov 2005 23:02:47 +0100 [thread overview]
Message-ID: <43766687.2000007@etek.chalmers.se> (raw)
In-Reply-To: <1131802238.29461.18.camel@blade>
Marcel Holtmann wrote:
> you are right. It is exactly what I was looking for. I just saw it some
> minutes ago, when I pulled the latest git tree. However to make an old
> GCC 2.95 happy, the attached patch is needed.
>
> I am not sure if it is fully working. It deletes a lot of old packs, but
> in case of the linux-2.6 tree it leaves on additional behind.
>
> .git/objects/pack/pack-4d7682fb8230fef33eb518fa8e53885ec675795e.idx
> .git/objects/pack/pack-4d7682fb8230fef33eb518fa8e53885ec675795e.pack
> .git/objects/pack/pack-b3c6fbdfa36a326815de6358885c7a570a986b1b.pack
> .git/objects/pack/pack-b3c6fbdfa36a326815de6358885c7a570a986b1b.idx
>
> The 4d76... is the current pack, but the b3c6... is an old one that is
> not needed anymore.
>
> Regards
>
> Marcel
This is most likley because the pack b3c6... contains unreachable objects.
git-pack-redundant only makes sure that all objects present in packfiles
still are present in packfiles after the redundant packs have been removed.
Thus, unreachable objects will also be considered as required.
Note that I haven't checked if this is the cause in this particular case,
but I have the same packfiles (I use the HTTP transport too).
I'm thinking of the possibility passing a list of objects to be ignored
on stdin to git-pack-redundant. This would hopefully solve this problem.
/Lukas Sandström
next prev parent reply other threads:[~2005-11-12 22:02 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-12 13:04 Remove unneeded packs Marcel Holtmann
2005-11-12 13:13 ` Andreas Ericsson
2005-11-12 13:30 ` Marcel Holtmann
2005-11-12 22:02 ` Lukas Sandström [this message]
2005-11-12 22:13 ` Marcel Holtmann
2005-11-13 2:38 ` Junio C Hamano
2005-11-13 10:58 ` Lukas Sandström
2005-11-13 12:00 ` Sergey Vlasov
2005-11-13 12:07 ` Lukas Sandström
2005-11-13 12:20 ` Sergey Vlasov
2005-11-13 12:31 ` Lukas Sandström
2005-11-12 13:40 ` Craig Schlenter
2005-11-12 13:59 ` Balanced packing strategy Petr Baudis
2005-11-12 15:14 ` Craig Schlenter
2005-11-13 2:34 ` Junio C Hamano
2005-11-13 11:00 ` Petr Baudis
2005-11-13 20:06 ` Josef Weidendorfer
2005-11-13 23:13 ` Junio C Hamano
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=43766687.2000007@etek.chalmers.se \
--to=lukass@etek.chalmers.se \
--cc=git@vger.kernel.org \
--cc=marcel@holtmann.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).