Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Rename add_file_to_index() to add_file_to_cache()
[gitweb.git]
/
builtin-add.c
diff --git
a/builtin-add.c
b/builtin-add.c
index 871e23f0f60398418f52a9c9a63e6198b5d10c15..7d1d5dc2448ef3049de30fdba1f78c49506030db 100644
(file)
--- a/
builtin-add.c
+++ b/
builtin-add.c
@@
-205,7
+205,7
@@
int cmd_add(int argc, const char **argv, const char *prefix)
}
for (i = 0; i < dir.nr; i++)
- add_file_to_
index
(dir.entries[i]->name, verbose);
+ add_file_to_
cache
(dir.entries[i]->name, verbose);
if (active_cache_changed) {
if (write_cache(newfd, active_cache, active_nr) ||