Re: Delta compression hooks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 2017-05-04 07:57 PM, Stefan Beller wrote:
On Thu, May 4, 2017 at 3:48 PM, Soni L. <fakedme+git@xxxxxxxxx> 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".



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]