X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/9fdb334e8518d80914aa33282d718d9ee6809b30..82a51ea53d967d95878b6c4a2dbc9636b117165f:/exclude.c diff --git a/exclude.c b/exclude.c index 81aaed9d..1cea8678 100644 --- a/exclude.c +++ b/exclude.c @@ -34,7 +34,7 @@ extern int recurse; extern char curr_dir[]; struct exclude_list_struct exclude_list = { 0, 0, "" }; -struct exclude_list_struct local_exclude_list = { 0, 0, "local-cvsignore " }; +struct exclude_list_struct local_exclude_list = { 0, 0, "per-dir .cvsignore " }; struct exclude_list_struct server_exclude_list = { 0, 0, "server " }; char *exclude_path_prefix = NULL; @@ -214,9 +214,8 @@ static void report_exclude_result(char const *name, /* - * Return true if file NAME is defined to be excluded by the specified - * exclude list. Returns -1 for an exclude, 1 for an include, and 0 if - * no match. + * Return -1 if file "name" is defined to be excluded by the specified + * exclude list, 1 if it is included, and 0 if it was not matched. */ int check_exclude(struct exclude_list_struct *listp, char *name, int name_is_dir) {