summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2021-03-08 16:09:07 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-03-08 16:09:07 -0800
commit56a57652ef8e4ca2f108a8719b8caeed5e153c95 (patch)
treed8569b5c8e1b6e276a0434fb7cfb82d210e289b1 /cache.h
parentMerge branch 'jt/transfer-fsck-across-packs-fix' (diff)
parentGit 2.30.2 (diff)
downloadtgif-56a57652ef8e4ca2f108a8719b8caeed5e153c95.tar.xz
Sync with Git 2.30.2 for CVE-2021-21300
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cache.h b/cache.h
index d928149614..6fda8091f1 100644
--- a/cache.h
+++ b/cache.h
@@ -1661,6 +1661,7 @@ int has_symlink_leading_path(const char *name, int len);
int threaded_has_symlink_leading_path(struct cache_def *, const char *, int);
int check_leading_path(const char *name, int len);
int has_dirs_only_path(const char *name, int len, int prefix_len);
+void invalidate_lstat_cache(void);
void schedule_dir_for_removal(const char *name, int len);
void remove_scheduled_dirs(void);