Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-gc --auto: move threshold check to need_to_gc() function.
[gitweb.git]
/
builtin-mv.c
diff --git
a/builtin-mv.c
b/builtin-mv.c
index 820aca122e9603535e9f3393b861b91b14ecfe15..3563216acaebba668f465895fe0563e5d7113fef 100644
(file)
--- a/
builtin-mv.c
+++ b/
builtin-mv.c
@@
-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++) {