author | Junio C Hamano <gitster@pobox.com> | |
Sun, 13 Apr 2008 19:11:11 +0000 (12:11 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 13 Apr 2008 19:11:11 +0000 (12:11 -0700) | ||
commit | c35b0b5884a12685aa794e00f51bc7dfaa0dd91c | |
tree | f1e76be5163a7bc4606380ebf3cff7922f18d27d | tree | snapshot |
parent | f43e2fd43b50d5a82a34bb3e4f848cb38bf93b7f | commit | diff |
Fix git_config_bool_or_int
The earlier one botched the return value logic between config_bool and
config_bool_and_int. The former should normalize between 0 and 1 while
the latter should give back full range of integer values.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
The earlier one botched the return value logic between config_bool and
config_bool_and_int. The former should normalize between 0 and 1 while
the latter should give back full range of integer values.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-config.c | diff | blob | history | |
config.c | diff | blob | history | |
t/t1300-repo-config.sh | diff | blob | history |