diff options
author | Junio C Hamano <gitster@pobox.com> | 2015-03-31 14:53:08 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-03-31 14:53:08 -0700 |
commit | ab0fb57aac6c5b6f074c07c7e2729bcff58cc45d (patch) | |
tree | 5a81d44aadaf33d77f4b05a48cd7a4ca9a9ddae7 /dir.h | |
parent | a78fc4af8246e06de4fc10f685a84778cf33aa12 (diff) | |
parent | 777c55a61615837d4391facd75cf334b96635801 (diff) | |
download | git-ab0fb57aac6c5b6f074c07c7e2729bcff58cc45d.tar.gz |
Merge branch 'jc/report-path-error-to-dir' into maint
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |