From: Sven Verdoolaege Date: Sun, 20 Nov 2005 18:29:43 GMT Subject: Re: Get rid of .git/branches/ and .git/remotes/? Message-ID: <20051120182943.GG8383MdfPADPa@greensroom.kotnet.org> In-Reply-To: On Sun, Nov 20, 2005 at 10:09:50AM -0800, Linus Torvalds wrote: > and that would result in a parse of > > core.values.fixed = true > core.values.nested = fine > core.values.example.test = Hell yes > core.other.example = strange > core.name = hi > secontion.example = yet another > [..] > I dunno. That seems a nice extension, and it would make these things > very unambiguous. But how do other .ini-file-like things do this? Not sure if this falls in the ".ini-file-like" category, but YAML (www.yaml.org) does nesting based on indentation. Your example would look like core: values: fixed: true nested: fine example: test: Hell yes other: example: strange name: hi secontion: example: yet another or core: values: { fixed: true, nested: fine, example: { test: Hell yes } } other: { example: strange } name: hi secontion: { example: 'yet another' } skimo