diff options
author | Stefan Beller <sbeller@google.com> | 2015-10-12 10:58:58 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-10-12 12:28:33 -0700 |
commit | 147875fd25ca21c580102529dd51de15acae178c (patch) | |
tree | acab6257925059ba537c73023ae37b30cb1c3d7d /t | |
parent | Git 2.6.1 (diff) | |
download | tgif-147875fd25ca21c580102529dd51de15acae178c.tar.xz |
submodule-config: "goto" removal in parse_config()
Many components in if/else if/... cascade jumped to a shared
clean-up with "goto release_return", but we can restructure the
function a bit and make them disappear, which reduces the line count
as well. Also reformat overlong lines and poorly indented ones
while at it.
The order of rules to verify the value for "ignore" used to be to
complain on multiple values first and then complain to boolean, but
swap the order to match how the values for "path" and "url" are
verified.
CC: Eric Sunshine <sunshine@sunshineco.com>
CC: Heiko Voigt <hvoigt@hvoigt.net>
Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't')
0 files changed, 0 insertions, 0 deletions