summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-11-30 01:52:36 (GMT)
committerJunio C Hamano <gitster@pobox.com>2010-11-30 01:52:36 (GMT)
commit208247adb9fc3702f87c6ec3fc26bd85d10d73e6 (patch)
tree3b1a4d8e778d8733e9b70fd53e097d632d264040 /cache.h
parent5acb623b72bde9ec96c48a8bb8f50e61371705ee (diff)
parent7980872d4ef3ce24329cbdb6d61dc2ed48cbf1c5 (diff)
downloadgit-208247adb9fc3702f87c6ec3fc26bd85d10d73e6.zip
git-208247adb9fc3702f87c6ec3fc26bd85d10d73e6.tar.gz
git-208247adb9fc3702f87c6ec3fc26bd85d10d73e6.tar.bz2
Merge branch 'cb/leading-path-removal'
* cb/leading-path-removal: use persistent memory for rejected paths do not overwrite files in leading path lstat_cache: optionally return match_len add function check_ok_to_remove() t7607: add leading-path tests t7607: use test-lib functions and check MERGE_HEAD Conflicts: t/t7607-merge-overwrite.sh
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cache.h b/cache.h
index 33decd9..d85ce86 100644
--- a/cache.h
+++ b/cache.h
@@ -859,7 +859,7 @@ struct cache_def {
extern int has_symlink_leading_path(const char *name, int len);
extern int threaded_has_symlink_leading_path(struct cache_def *, const char *, int);
-extern int has_symlink_or_noent_leading_path(const char *name, int len);
+extern int check_leading_path(const char *name, int len);
extern int has_dirs_only_path(const char *name, int len, int prefix_len);
extern void schedule_dir_for_removal(const char *name, int len);
extern void remove_scheduled_dirs(void);