Re: Delta compression hooks
- From
Stefan Beller <sbeller@google.com>
- Date
- May 4, 2017, 22:57 UTC
- Message-ID
- <CAGZ79ka66czcGpNGWFEQ=2Qf7OJgH7A-O+R860P=usiFWV4RBA@mail.gmail.com>
- In-Reply-To
- <b8f1dab4-896f-c9ad-7a89-87aacb2c3e61@gmail.com>
On Thu, May 4, 2017 at 3:48 PM, Soni L. <fakedme+git@gmail.com> wrote:
Show 9 quoted lines
> 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