diff options
author | Victoria Dye <vdye@github.com> | 2024-01-18 01:55:15 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-01-18 10:12:48 -0800 |
commit | 13320ff610b4083341175c4f8e636a1bc52145f5 (patch) | |
tree | 13c29bcf8c127211ee46efa596c72e946f607b19 /t/unit-tests/t-basic.c | |
parent | 564d0252ca632e0264ed670534a51d18a689ef5d (diff) |
submodule-config.h: move check_submodule_url
Move 'check_submodule_url' out of 'fsck.c' and into 'submodule-config.h' as
a public method, similar to 'check_submodule_name'. With the function now
accessible outside of 'fsck', it can be used in a later commit to extend
'test-tool submodule' to check the validity of submodule URLs as it does
with names in the 'check-name' subcommand.
Other than its location, no changes are made to 'check_submodule_url' in
this patch.
Signed-off-by: Victoria Dye <vdye@github.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/unit-tests/t-basic.c')
0 files changed, 0 insertions, 0 deletions