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

Re: [PATCH 2/2] Teach "delta" attribute to pack-objects.

From
Junio C Hamano <junkio@cox.net>
Date
May 19, 2007, 20:03 UTC
Message-ID
<7v4pm8wpgc.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<56b7f5510705190910h7e5ed03bnbc5a1b9a1369fc9f@mail.gmail.com>
"Dana How" <danahow@gmail.com> writes:
> ...  But such an attribute should be
> ignored when --stdout is in effect -- it only affects on-disk
> repacking, not packing for transfers, which is why it's named "repack".

Yes -- if we want to have an option to keep objects selectively left out of packs in loose format, you would need 'repack' which acts differently between the server-feeding-client case vs packing-repository case.

Which is a bigger change that I did not want to show in the quick-and-clean patch, but I would agree we would want both.

Previous: Dana HowNext: Dana How
Message 4 of 6 in “pack-objects: pass fullname down to add_object_entry()”
  1. 1/2 pack-objects: pass fullname down to add_object_entry()Junio C Hamano, May 19, 2007
  2. 2/2 Teach "delta" attribute to pack-objects.Junio C Hamano, May 19, 2007
  3. Dana HowMay 19, 2007
  4. Junio C HamanoMay 19, 2007
  5. Dana HowMay 19, 2007
  6. Nicolas PitreMay 22, 2007

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.