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

Re: Git Large Object Support Proposal

From
Junio C Hamano <gitster@pobox.com>
Date
Mar 19, 2009, 22:31 UTC
Message-ID
<7veiwt6t6a.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<d411cc4a0903191514n1e524ebava5895d708a2927c4@mail.gmail.com>
Scott Chacon <schacon@gmail.com> writes:
Show 9 quoted lines
> But where Git instead stores a stub object and the large binary object
> is pulled in via a separate mechanism. I was thinking that the client
> could set a max file size and when a binary object larger than that is
> staged, Git instead writes a stub blob like:
>
> ==
> blob [size]\0
> [sha of large blob]
> ==

An immediate pair of questions are, if you can solve the issue by delegating large media to somebody else (i.e. "media server"), and that somebody else can solve the issues you are having, (1) what happens if you lower that "large" threashold to "0 byte"? Does that somebody else still work fine, and does the git that uses indirection also still work fine? If so why are you using git instead of that somebody else altogether? and (2) what prevents us from stealing the trick that somebody else uses so that git itself can natively handle large blobs without indirection?

Without thinking the ramifications through myself, this sounds pretty much like a band-aid and will nend up hitting the same "blob is larger than we can handle" issue when you follow the indirection eventually, but that is just my gut feeling.

This is an off-topic "By the way", but has another topic addressed to you on git-scm.com/about resolved in any way yet?

Previous: Scott ChaconNext: Scott Chacon
Message 2 of 11 in “Git Large Object Support Proposal”
  1. Scott ChaconMar 19, 2009
  2. Junio C HamanoMar 19, 2009
  3. Scott ChaconMar 19, 2009
  4. Junio C HamanoMar 19, 2009
  5. david@lang.hmMar 19, 2009
  6. Junio C HamanoMar 20, 2009
  7. Scott ChaconMar 20, 2009
  8. david@lang.hmMar 20, 2009
  9. Junio C HamanoMar 20, 2009
  10. Jeff KingMar 20, 2009
  11. david@lang.hmMar 19, 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.