summaryrefslogtreecommitdiff
path: root/submodule.h
diff options
context:
space:
mode:
authorBrandon Williams <bmwill@google.com>2017-12-12 11:53:50 -0800
committerJunio C Hamano <gitster@pobox.com>2017-12-12 12:35:20 -0800
commit3b8317a9e6f1538c99074eeffd4b27ac18de5648 (patch)
tree3284b939162e3e2e2cd23182c5372025fa9521a8 /submodule.h
parent95ec6b1b3393eb6e26da40c565520a8db9796e9f (diff)
downloadgit-3b8317a9e6f1538c99074eeffd4b27ac18de5648.tar.gz
submodule: convert stage_updated_gitmodules to take a struct index_state
Signed-off-by: Brandon Williams <bmwill@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'submodule.h')
-rw-r--r--submodule.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/submodule.h b/submodule.h
index f0da0277a4..cd984ecba1 100644
--- a/submodule.h
+++ b/submodule.h
@@ -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);