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

Re: [PATCH] Doc: clarify that pack-objects makes packs, plural

From
Jeff King <peff@peff.net>
Date
Aug 24, 2017, 13:38 UTC
Message-ID
<20170824133842.vqzydienll6ka4vw@sigill.intra.peff.net>
In-Reply-To
<CA+P7+xoPscnzCGLHSK-gk80GcZLZ5T4e7E29ztVX7qbjMcGbnw@mail.gmail.com>
On Thu, Aug 24, 2017 at 12:27:52AM -0700, Jacob Keller wrote:
Show 10 quoted lines
> > For the sneaker-net case, you are much better off generating a single
> > pack and then using "split" and "cat" to reconstruct it on the other end
> > Not that I think we should go into such detail in the manpage, but I
> > have to wonder if --max-pack-size has outlived its usefulness. The only
> > use case I can think of is a filesystem that cannot hold files larger
> > than N bytes.
> 
> Is it possible to detect on the file system that we can't store files
> that large, and remove the option, while enabling it only when we
> detect the filesystem is unable to store large files?

I'm not sure how easy it would be to do such a check. But even if it was, I'm not sure that buys us much. We'd still carry the code. We could in theory remove the option, simplifying the interface. But that removes the possibility of somebody wanting to stage the smaller packfiles on a more capable filesystem in preparation for moving them to the more-limited one.

-Peff
Previous: Jacob KellerNext: Junio C Hamano
Message 6 of 7 in “Doc: clarify that pack-objects makes packs, plural”
  1. Doc: clarify that pack-objects makes packs, pluralJonathan Tan, Aug 22, 2017
  2. Junio C HamanoAug 22, 2017
  3. Doc: clarify that pack-objects makes packs, pluralJonathan Tan, Aug 23, 2017
  4. Jeff KingAug 23, 2017
  5. Jacob KellerAug 24, 2017
  6. Jeff KingAug 24, 2017
  7. Junio C HamanoAug 24, 2017

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.