From: Sebastian Setzer Date: Mon, 07 Dec 2009 21:20:21 GMT Subject: Re: How do you best store structured data in git repositories? Message-ID: <1260220821.3545.12.camel@nord26-amd64> In-Reply-To: <20091204001359.GA6709@gmail.com> On Thursday, Dec 03 2009 at 16:14 -0800, David Aguilar wrote: > On Wed, Dec 02, 2009 at 04:17:10PM -0500, Avery Pennarun wrote: > > On Wed, Dec 2, 2009 at 4:08 PM, Sebastian Setzer > > wrote: > > > Do you use XML for this purpose? > > > > XML is terrible for most data storage purposes. > > I agree 100%. > > JSON's not too bad for data structures and is known to > be friendly to XML expats. > Sorry, I didn't want to start a flamewar against XML. I'm no big friend of XML myself, but I don't know of an (open source) diff-/merge tool for any general purpose file format other than XML or plain text. When you mention other formats, I'd be interested in - why this format is good for storage in git - if there are merge tools available which ensure that, after a merge, the structure (and maybe additional contraints) is still valid. Thanks for your comments, Sebastian