aboutsummaryrefslogtreecommitdiff
path: root/attr.c
diff options
context:
space:
mode:
authorAdam Spiers <git@adamspiers.org>2012-12-27 02:32:25 +0000
committerJunio C Hamano <gitster@pobox.com>2012-12-28 12:07:46 -0800
commit6d24e7a807922a5fbf1aa4d42f66e4f0a0aaa141 (patch)
tree0fa8fe217891d7757c04deb632bdeb49c0b88d52 /attr.c
parent0795805053ad89a24954684fca2e69fea2bf50b9 (diff)
downloadgit-6d24e7a807922a5fbf1aa4d42f66e4f0a0aaa141.tar.gz
git-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 'attr.c')
-rw-r--r--attr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/attr.c b/attr.c
index 2fc635362..536256308 100644
--- a/attr.c
+++ b/attr.c
@@ -284,7 +284,7 @@ static struct match_attr *parse_attr_line(const char *line, const char *src,
* (reading the file from top to bottom), .gitattribute of the root
* directory (again, reading the file from top to bottom) down to the
* current directory, and then scan the list backwards to find the first match.
- * This is exactly the same as what excluded() does in dir.c to deal with
+ * This is exactly the same as what is_excluded() does in dir.c to deal with
* .gitignore
*/