From: Junio C Hamano <gitster@pobox•com>
To: Will Entriken <fulldecent@gmail•com>
Cc: git@vger•kernel.org
Subject: Re: gc.linkedobjectdir discussion
Date: Tue, 24 Feb 2015 14:26:08 -0800 [thread overview]
Message-ID: <xmqqsidvosjj.fsf@gitster.dls.corp.google.com> (raw)
In-Reply-To: <CAFwrLX7AVbhbP-Ha3Vag+7o5a-8fSaQxxx+z0DRurdzY-pBwkQ@mail.gmail.com> (Will Entriken's message of "Tue, 24 Feb 2015 16:56:55 -0500")
Will Entriken <fulldecent@gmail•com> writes:
> USAGE - CACHE HIT:
> During another pull or clone on a different working directory, git
> will find the required object in LINKEDOBJECTDIR and hard link into
> the active repo's object store.
What happens when the necessary objects are in a packfile, mixed
with other objects that this repository does not need but may be
necessary for other repositories?
> USAGE - DELETING:
> Whenever deleting an object, git will stat the file to see to see if
> its link count is 2, if so, both copies are deleted.
This is totally unworkable if you ever pack your repository. And
packing loose objects is a lot more efficient way to reduce your
disk footprint than sharing the object store among a handful of
repositories.
prev parent reply other threads:[~2015-02-24 22:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-24 21:56 gc.linkedobjectdir discussion Will Entriken
2015-02-24 22:26 ` Junio C Hamano [this message]
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=xmqqsidvosjj.fsf@gitster.dls.corp.google.com \
--to=gitster@pobox$(echo .)com \
--cc=fulldecent@gmail$(echo .)com \
--cc=git@vger$(echo .)kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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