summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-03-06 14:53:07 -0800
committerJunio C Hamano <gitster@pobox.com>2012-03-06 14:53:07 -0800
commit713194ce54ea67d3fc666ef81aaece16d0e44928 (patch)
tree9c25a333045d9d000196e0e170594c83ae28bffa /cache.h
parent239d6eddcd9a260c25104aa9679252016a86900a (diff)
parent15438d5a56acfd08545a11630821179334eb6979 (diff)
downloadgit-713194ce54ea67d3fc666ef81aaece16d0e44928.tar.gz
Merge branch 'jh/threadable-symlink-check'
By Jared Hance * jh/threadable-symlink-check: Add threaded versions of functions in symlinks.c.
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cache.h b/cache.h
index e12b15f4b9..e5e1aa4e15 100644
--- a/cache.h
+++ b/cache.h
@@ -950,7 +950,9 @@ 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 check_leading_path(const char *name, int len);
+extern int threaded_check_leading_path(struct cache_def *cache, const char *name, int len);
extern int has_dirs_only_path(const char *name, int len, int prefix_len);
+extern int threaded_has_dirs_only_path(struct cache_def *cache, 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);