From: Wayne Davison Date: Sat, 17 Jan 2004 01:16:49 +0000 (+0000) Subject: Items read from a per-directory .cvsignore file should be added to the X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/57469f6c31cec390c014cde5851ec8b279d2c287?hp=13c7bcbb2be2fc580af0ade159c2b85c4e3cd3b0 Items read from a per-directory .cvsignore file should be added to the local_exclude_list, not the exclude_list. --- diff --git a/flist.c b/flist.c index 55107a71..d8115b66 100644 --- a/flist.c +++ b/flist.c @@ -942,7 +942,7 @@ static void send_directory(int f, struct file_list *flist, char *dir) if (cvs_exclude) { if (strlen(fname) + strlen(".cvsignore") <= MAXPATHLEN - 1) { strcpy(p, ".cvsignore"); - add_exclude_file(&exclude_list,fname,MISSING_OK,ADD_EXCLUDE); + add_exclude_file(&local_exclude_list,fname,MISSING_OK,ADD_EXCLUDE); } else { io_error |= IOERR_GENERAL; rprintf(FINFO,