Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
add: warn when -u or -A is used without pathspec
[gitweb.git]
/
builtin
/
update-index.c
diff --git
a/builtin/update-index.c
b/builtin/update-index.c
index 74986bf163d4dadb4497a90364c29ac71a801638..ada1dff846f2b77d5f71d69db57a7eca5033b943 100644
(file)
--- a/
builtin/update-index.c
+++ b/
builtin/update-index.c
@@
-593,6
+593,7
@@
struct refresh_params {
static int refresh(struct refresh_params *o, unsigned int flag)
{
setup_work_tree();
+ read_cache_preload(NULL);
*o->has_errors |= refresh_cache(o->flags | flag);
return 0;
}