git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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.
Previous: SergioNext: sergio
Message 2 of 4 in “git gc does not discard objects found in alternate unless the alternate storage is packed”
  1. SergioAug 10, 2008
  2. Shawn O. PearceAug 11, 2008
  3. sergioAug 11, 2008
  4. Shawn O. PearceAug 11, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.