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
6
cache.h
6
cache.h
@ -823,12 +823,6 @@ extern void fill_stat_cache_info(struct cache_entry *ce, struct stat *st);
|
||||
extern int refresh_index(struct index_state *, unsigned int flags, const struct pathspec *pathspec, char *seen, const char *header_msg);
|
||||
extern struct cache_entry *refresh_cache_entry(struct index_state *, struct cache_entry *, unsigned int);
|
||||
|
||||
/*
|
||||
* Opportunistically update the index but do not complain if we can't.
|
||||
* The lockfile is always committed or rolled back.
|
||||
*/
|
||||
extern void update_index_if_able(struct index_state *, struct lock_file *);
|
||||
|
||||
extern void set_alternate_index_output(const char *);
|
||||
|
||||
extern int verify_index_checksum;
|
||||
|
Reference in New Issue
Block a user