dir.c: rename path_excluded() to is_path_excluded()
[gitweb.git] / dir.c
diff --git a/dir.c b/dir.c
index f31aa59fa30f21dc2fca1b5546530d099f2bcc46..f1c0abd182e43df312c9f2ed64fcccaad9017b6a 100644 (file)
--- a/dir.c
+++ b/dir.c
@@ -685,8 +685,8 @@ void path_exclude_check_clear(struct path_exclude_check *check)
  * A path to a directory known to be excluded is left in check->path to
  * optimize for repeated checks for files in the same excluded directory.
  */
-int path_excluded(struct path_exclude_check *check,
-                 const char *name, int namelen, int *dtype)
+int is_path_excluded(struct path_exclude_check *check,
+                    const char *name, int namelen, int *dtype)
 {
        int i;
        struct strbuf *path = &check->path;