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>
This commit is contained in:

committed by
Junio C Hamano

parent
95ec6b1b33
commit
3b8317a9e6
@ -291,7 +291,7 @@ int cmd_mv(int argc, const char **argv, const char *prefix)
|
||||
}
|
||||
|
||||
if (gitmodules_modified)
|
||||
stage_updated_gitmodules();
|
||||
stage_updated_gitmodules(&the_index);
|
||||
|
||||
if (active_cache_changed &&
|
||||
write_locked_index(&the_index, &lock_file, COMMIT_LOCK))
|
||||
|
Reference in New Issue
Block a user