summaryrefslogtreecommitdiff
path: root/dir.h
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2019-03-20 08:15:48 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-03-20 09:34:09 (GMT)
commitc5c33504c906f6bf09fe00a1a32c6c4bdb76ed0f (patch)
treed3639f227f131786511121123d1fb6643127b2bd /dir.h
parentdf351c6e676e8eea0defa00ea919ad7da6bd03f1 (diff)
downloadgit-c5c33504c906f6bf09fe00a1a32c6c4bdb76ed0f.zip
git-c5c33504c906f6bf09fe00a1a32c6c4bdb76ed0f.tar.gz
git-c5c33504c906f6bf09fe00a1a32c6c4bdb76ed0f.tar.bz2
report_path_error(): drop unused prefix parameter
This hasn't been used since 17ddc66e70 (convert report_path_error to take struct pathspec, 2013-07-14), as the names in the struct will have already been prefixed when they were parsed. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'dir.h')
-rw-r--r--dir.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/dir.h b/dir.h
index e3ec261..823bae6 100644
--- a/dir.h
+++ b/dir.h
@@ -220,7 +220,7 @@ extern int match_pathspec(const struct index_state *istate,
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 report_path_error(const char *ps_matched, const struct pathspec *pathspec);
extern int within_depth(const char *name, int namelen, int depth, int max_depth);
extern int fill_directory(struct dir_struct *dir,