summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2019-01-12 02:13:27 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-01-14 20:13:04 (GMT)
commit1b0d968b34122a0f3ceec2786f01679437f2baba (patch)
tree8109ea8109155136b71582902f20c94dcf33ded9 /cache.h
parente1ff0a32e48eb0f3e53970df3f941d183093ff5a (diff)
downloadgit-1b0d968b34122a0f3ceec2786f01679437f2baba.zip
git-1b0d968b34122a0f3ceec2786f01679437f2baba.tar.gz
git-1b0d968b34122a0f3ceec2786f01679437f2baba.tar.bz2
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>
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/cache.h b/cache.h
index 3715808..702c5bf 100644
--- a/cache.h
+++ b/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;