Re: git gc does not discard objects found in alternate unless the alternate storage is packed
- From
Shawn O. Pearce <spearce@spearce.org>
- Date
- Aug 11, 2008, 02:54 UTC
- Message-ID
- <20080811025438.GB27195@spearce.org>
- In-Reply-To
- <loom.20080810T210546-549@post.gmane.org>
Sergio <sergio.callegari@gmail.com> wrote:
> Version 1.5.6.5 > > Looks weird > Is it the intended behaviour?
This is the current (intended) behavior. We have never pruned an object from a repository unless the object is packed in the shared alternate repository. See git-prune-packed's man page. The prune logic for loose objects only deletes objects which are in packs, and it doesn't care where that pack came from.
-- Shawn.