Re: [PATCHv2 5/8] submodule: use parse_config_key when parsing config

2013-01-23 Thread Jens Lehmann
Am 23.01.2013 07:25, schrieb Jeff King: > This makes the code a lot simpler to read by dropping a > whole bunch of constant offsets. > > As a bonus, it means we also feed the whole config variable > name to our error functions: > > [before] > $ git -c submodule.foo.fetchrecursesubmodules=bogu

[PATCHv2 5/8] submodule: use parse_config_key when parsing config

2013-01-22 Thread Jeff King
This makes the code a lot simpler to read by dropping a whole bunch of constant offsets. As a bonus, it means we also feed the whole config variable name to our error functions: [before] $ git -c submodule.foo.fetchrecursesubmodules=bogus checkout fatal: bad foo.fetchrecursesubmodules argum