reflog: rename 'new' variables
[gitweb.git] / builtin / mv.c
index ffdd5f01a190b99407d1019972e3198c42b7194c..cf3684d907a2fe3408581502c682d6290c790827 100644 (file)
@@ -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))