Mark user-manual as UTF-8
[gitweb.git] / builtin-mv.c
index 820aca122e9603535e9f3393b861b91b14ecfe15..3563216acaebba668f465895fe0563e5d7113fef 100644 (file)
@@ -273,7 +273,7 @@ int cmd_mv(int argc, const char **argv, const char *prefix)
 
                for (i = 0; i < added.nr; i++) {
                        const char *path = added.items[i].path;
-                       add_file_to_index(path, verbose);
+                       add_file_to_cache(path, verbose);
                }
 
                for (i = 0; i < deleted.nr; i++) {