From 3b8317a9e6f1538c99074eeffd4b27ac18de5648 Mon Sep 17 00:00:00 2001 From: Brandon Williams Date: Tue, 12 Dec 2017 11:53:50 -0800 Subject: submodule: convert stage_updated_gitmodules to take a struct index_state Signed-off-by: Brandon Williams Signed-off-by: Junio C Hamano --- builtin/rm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'builtin/rm.c') diff --git a/builtin/rm.c b/builtin/rm.c index d91451fea1..4a2fcca27b 100644 --- a/builtin/rm.c +++ b/builtin/rm.c @@ -382,7 +382,7 @@ int cmd_rm(int argc, const char **argv, const char *prefix) } strbuf_release(&buf); if (gitmodules_modified) - stage_updated_gitmodules(); + stage_updated_gitmodules(&the_index); } if (active_cache_changed) { -- cgit v1.3-6-g1900