summaryrefslogtreecommitdiff
path: root/dir.h
diff options
context:
space:
mode:
authorLibravatar Adam Spiers <git@adamspiers.org>2012-12-27 02:32:25 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-12-28 12:07:46 -0800
commit6d24e7a807922a5fbf1aa4d42f66e4f0a0aaa141 (patch)
tree0fa8fe217891d7757c04deb632bdeb49c0b88d52 /dir.h
parentdir.c: rename excluded_from_list() to is_excluded_from_list() (diff)
downloadtgif-6d24e7a807922a5fbf1aa4d42f66e4f0a0aaa141.tar.xz
dir.c: rename excluded() to is_excluded()
Continue adopting clearer names for exclude functions. This is_* naming pattern for functions returning booleans was discussed here: http://thread.gmane.org/gmane.comp.version-control.git/204661/focus=204924 Signed-off-by: Adam Spiers <git@adamspiers.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'dir.h')
-rw-r--r--dir.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/dir.h b/dir.h
index 554f87a5fd..d68a9971c2 100644
--- a/dir.h
+++ b/dir.h
@@ -113,8 +113,8 @@ extern int match_pathname(const char *, int,
const char *, int, int, int);
/*
- * The excluded() API is meant for callers that check each level of leading
- * directory hierarchies with excluded() to avoid recursing into excluded
+ * The is_excluded() API is meant for callers that check each level of leading
+ * directory hierarchies with is_excluded() to avoid recursing into excluded
* directories. Callers that do not do so should use this API instead.
*/
struct path_exclude_check {