summaryrefslogtreecommitdiff
path: root/dir.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2015-03-26 11:57:12 -0700
committerJunio C Hamano <gitster@pobox.com>2015-03-26 11:57:13 -0700
commit574ee8ae8636ffad8146e0f8e648b866dad725e6 (patch)
tree803d6e2645e3a8cc2491177f7be4fbf602af8cca /dir.h
parentbca181109d6f054d525c71a84963bbdc1f0c40bf (diff)
parent777c55a61615837d4391facd75cf334b96635801 (diff)
downloadgit-574ee8ae8636ffad8146e0f8e648b866dad725e6.tar.gz
Merge branch 'jc/report-path-error-to-dir'
Code clean-up. * jc/report-path-error-to-dir: report_path_error(): move to dir.c
Diffstat (limited to 'dir.h')
-rw-r--r--dir.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/dir.h b/dir.h
index 6c45e9d4b9..72b73c65dc 100644
--- a/dir.h
+++ b/dir.h
@@ -137,6 +137,7 @@ extern char *common_prefix(const struct pathspec *pathspec);
extern int match_pathspec(const struct pathspec *pathspec,
const char *name, int namelen,
int prefix, char *seen, int is_dir);
+extern int report_path_error(const char *ps_matched, const struct pathspec *pathspec, const char *prefix);
extern int within_depth(const char *name, int namelen, int depth, int max_depth);
extern int fill_directory(struct dir_struct *dir, const struct pathspec *pathspec);