Re: Working with zip files
- From
- David Lang <david@lang.hm>
- Date
- Aug 16, 2016, 16:27 UTC
- Message-ID
- <alpine.DEB.2.02.1608160926330.11774@nftneq.ynat.uz>
- In-Reply-To
- <87y43wwujd.fsf@thinkpad.rath.org>
On Tue, 16 Aug 2016, Nikolaus Rath wrote:
Show 7 quoted lines
> I would like to store Simulink models in a Git > repository. Unfortunately, the file format is binary. But luckily, the > binary format happens to be a zipfile containing nicely formatted XML > files. > > Is there a way to teach Git to take advantage of this when storing, > diff-ing and merging these files?
you should be able to use clean/smudge to have git store the files uncompressed, which will help a lot.
I think there's a way to tell it to do a xml aware diff/patch, but I don't remember how.
David Lang