submodule: convert stage_updated_gitmodules to take a struct index_state
[gitweb.git] / submodule.h
index f0da0277a45b49369d89cebdd4d30f44bef23d3d..cd984ecba158563b6dc41c57b60dcf40941b4c4f 100644 (file)
@@ -37,7 +37,7 @@ 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);
-extern void stage_updated_gitmodules(void);
+extern void stage_updated_gitmodules(struct index_state *istate);
 extern void set_diffopt_flags_from_submodule_config(struct diff_options *,
                const char *path);
 extern int git_default_submodule_config(const char *var, const char *value, void *cb);