Re: Get rid of .git/branches/ and .git/remotes/?
From: Sven Verdoolaege <hidden>
Date: 2016-06-15 22:42:12
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