]> git.ipfire.org Git - thirdparty/git.git/blobdiff - submodule-config.h
Git 2.45
[thirdparty/git.git] / submodule-config.h
index 958f320ac6ce08a0b0ac856415a173d5fa7c2600..b6133af71b00d61abdafc3aa736fe4f4018695cf 100644 (file)
@@ -89,6 +89,9 @@ int config_set_in_gitmodules_file_gently(const char *key, const char *value);
  */
 int check_submodule_name(const char *name);
 
+/* Returns 0 if the URL valid per RFC3986 and -1 otherwise. */
+int check_submodule_url(const char *url);
+
 /*
  * Note: these helper functions exist solely to maintain backward
  * compatibility with 'fetch' and 'update_clone' storing configuration in