read-cache.c: replace update_index_if_able with repo_&
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
e1ff0a32e4
commit
1b0d968b34
@ -212,7 +212,7 @@ static void refresh_index_quietly(void)
|
||||
discard_cache();
|
||||
read_cache();
|
||||
refresh_cache(REFRESH_QUIET|REFRESH_UNMERGED);
|
||||
update_index_if_able(&the_index, &lock_file);
|
||||
repo_update_index_if_able(the_repository, &lock_file);
|
||||
}
|
||||
|
||||
static int builtin_diff_files(struct rev_info *revs, int argc, const char **argv)
|
||||
|
||||
Reference in New Issue
Block a user