[prev in list] [next in list] [prev in thread] [next in thread]
List: git
Subject: Re: gc.linkedobjectdir discussion
From: Junio C Hamano <gitster () pobox ! com>
Date: 2015-02-24 22:26:08
Message-ID: xmqqsidvosjj.fsf () gitster ! dls ! corp ! google ! com
[Download RAW message or body]
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.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic