dir.c: rename path_excluded() to is_path_excluded()
Start adopting clearer names for exclude functions. This 'is_*' naming pattern for functions returning booleans was agreed 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>
This commit is contained in:

committed by
Junio C Hamano

parent
840fc334e9
commit
9013089c4a
4
dir.c
4
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;
|
||||
|
Reference in New Issue
Block a user