submodule: convert is_submodule_initialized to work on a repository
[gitweb.git] / submodule.h
index 8a3771ec6317bd1deabac83ca75dcacc5d39cb89..623ce6ad7716aa037e2970f6847cc145c41bff69 100644 (file)
@@ -49,7 +49,7 @@ void load_submodule_cache(void);
 extern void gitmodules_config(void);
 extern void repo_read_gitmodules(struct repository *repo);
 extern void gitmodules_config_sha1(const unsigned char *commit_sha1);
-extern int is_submodule_initialized(const char *path);
+extern int is_submodule_active(struct repository *repo, const char *path);
 /*
  * Determine if a submodule has been populated at a given 'path' by checking if
  * the <path>/.git resolves to a valid git repository.