]> git.ipfire.org Git - thirdparty/git.git/blobdiff - builtin/rm.c
Merge branch '2.16' of https://github.com/ChrisADR/git-po
[thirdparty/git.git] / builtin / rm.c
index d91451fea122cec3923543ef78acf0c5ef4c5fa2..4a2fcca27b3f722ca520c2411b80e6984ecf780a 100644 (file)
@@ -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) {