diff options
author | Krzesimir Nowak <krzesimir@endocode.com> | 2013-12-11 12:54:42 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-12-12 12:37:36 -0800 |
commit | 23faf546ae59d945848389070507bc418de733b6 (patch) | |
tree | 2589ade7dce77ecd83032185898b4d32966309d1 /Documentation/mailmap.txt | |
parent | gitweb: Move check-ref-format code into separate function (diff) | |
download | tgif-23faf546ae59d945848389070507bc418de733b6.tar.xz |
gitweb: Return 1 on validation success instead of passed input
Users of validate_* passing "0" might get failures on correct name
because of coercion of "0" to false in code like:
die_error(500, "invalid ref") unless (check_ref_format ("0"));
Also, the validate_foo subs are renamed to is_valid_foo.
Signed-off-by: Krzesimir Nowak <krzesimir@endocode.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/mailmap.txt')
0 files changed, 0 insertions, 0 deletions