diff options
author | Jeff King <peff@peff.net> | 2013-01-23 01:25:22 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-01-23 12:57:50 -0800 |
commit | 9edbb8b1c1fdb199b47650f50fc432b1bfcb9039 (patch) | |
tree | 4c551f5dba34ddffe178616bf6487d789a8acdae /po/da.po | |
parent | userdiff: drop parse_driver function (diff) | |
download | tgif-9edbb8b1c1fdb199b47650f50fc432b1bfcb9039.tar.xz |
submodule: use parse_config_key when parsing config
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 argument: bogus
[after]
$ git -c submodule.foo.fetchrecursesubmodules=bogus checkout
fatal: bad submodule.foo.fetchrecursesubmodules argument: bogus
Signed-off-by: Jeff King <peff@peff.net>
Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
Acked-by: Jens Lehmann <Jens.Lehmann@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'po/da.po')
0 files changed, 0 insertions, 0 deletions