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

Re: Delta compression hooks

From
SLSoni L. <fakedme+git@gmail.com>
Date
May 4, 2017, 23:40 UTC
Message-ID
<6e5b70c3-cf80-d26a-1c7e-14c2a00a778b@gmail.com>
In-Reply-To
<CAGZ79ka66czcGpNGWFEQ=2Qf7OJgH7A-O+R860P=usiFWV4RBA@mail.gmail.com>
On 2017-05-04 07:57 PM, Stefan Beller wrote:
Show 15 quoted lines
> On Thu, May 4, 2017 at 3:48 PM, Soni L. <fakedme+git@gmail.com> wrote:
>> Can we get delta compression hooks? I'm working with voxel data as my source
>> code (it's a long story...) and git doesn't handle changing lines of voxels
>> very well.
>>
>> Example, I have something from position (0,0,0) to position (0,10,0) and I
>> replace it with something else. Git doesn't handle this difference very well
>> if the file is encoded in XYZ order (it'd handle it exceptionally well if
>> the file was in YXZ or YZX order), and Z-order curves aren't much better.
>> It's even worse if the file is compressed.
> Maybe look into smudge filters to store the data in a different format
> inside Git
> than what is in the working tree.
>
> https://git-scm.com/docs/gitattributes

Those can only do so much. The best it can do is re-encode voxel data into Z-order curves, or recompress files into pseudo-compressed format (valid gzip file but every block is of type "uncompressed data").

I want something that can say "this file is 3D and we change a line of voxels here".

Previous: Stefan Beller
Message 3 of 3 in “Delta compression hooks”
  1. Soni L.May 4, 2017
  2. Stefan BellerMay 4, 2017
  3. Soni L.May 4, 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.