submodule: check for unmerged .gitmodules outside of config parsing
[gitweb.git] / submodule.h
index b14660585fb2d6e5f84dd62e63ac3e47a8920153..8022faa591f0d35d57189e50670ef28f66134d86 100644 (file)
@@ -33,6 +33,7 @@ struct submodule_update_strategy {
 };
 #define SUBMODULE_UPDATE_STRATEGY_INIT {SM_UPDATE_UNSPECIFIED, NULL}
 
+extern int is_gitmodules_unmerged(const struct index_state *istate);
 extern int is_staging_gitmodules_ok(const struct index_state *istate);
 extern int update_path_in_gitmodules(const char *oldpath, const char *newpath);
 extern int remove_path_from_gitmodules(const char *path);