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

Re: Confusing text in git-prune.txt

From
Johannes Sixt <j.sixt@viscovery.net>
Date
Jan 16, 2009, 16:56 UTC
Message-ID
<4970BC25.7020007@viscovery.net>
In-Reply-To
<20090116165013.GA14196@chistera.yi.org>
Adeodato Simó schrieb:
Show 9 quoted lines
> From git-prune.txt:
> 
>     [...] prunes all unpacked objects unreachable from any of
>     these head objects from the object database. In addition,
>     it prunes the unpacked objects that are also found in packs by
>     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>     running git-prune-packed.
> 
> How can "unpacked objects" be "found in packs"?

An object can exist more than once in the database. prune-packed removes the loose (unpacked) instance of the object if it also available in a pack.

-- Hannes
Previous: Adeodato SimóNext: Adeodato Simó
Message 2 of 3 in “Confusing text in git-prune.txt”
  1. Adeodato SimóJan 16, 2009
  2. Johannes SixtJan 16, 2009
  3. Adeodato SimóJan 16, 2009

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.