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

Re: Looking for help to understand external filter driver code

From
Jakub Narębski <jnareb@gmail.com>
Date
Jul 20, 2016, 08:59 UTC
Message-ID
<578F3D5E.2070201@gmail.com>
In-Reply-To
<xmqqr3ape2ju.fsf@gitster.mtv.corp.google.com>
W dniu 2016-07-19 o 23:33, Junio C Hamano pisze:
Show 7 quoted lines
> Lars Schneider <larsxschneider@gmail.com> writes:
> 
>> > Git writes --> 4 byte filename length
>> > Git writes --> filename string
>
> Why limit to 32GB?  Perhaps NUL termination is more appropriate
> here?
Errr, I think limiting _filename_ to 32GB is a reasonable
assumption, for forever...
 
>> > Git writes --> 4 byte content length
>> > Git writes --> content string

...while limiting file _content_ to 32GB might not be future-proof enough.

;-)
-- 
Jakub Narębski
Previous: Torsten BögershausenNext: Lars Schneider
Message 8 of 10 in “Looking for help to understand external filter driver code”
  1. Lars SchneiderJul 19, 2016
  2. Junio C HamanoJul 19, 2016
  3. Junio C HamanoJul 19, 2016
  4. Lars SchneiderJul 19, 2016
  5. Junio C HamanoJul 19, 2016
  6. Lars SchneiderJul 19, 2016
  7. Torsten BögershausenJul 20, 2016
  8. Jakub NarębskiJul 20, 2016
  9. Lars SchneiderJul 20, 2016
  10. Jeff KingJul 20, 2016

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.