summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/repository.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/cvs/repository.c')
-rw-r--r--usr.bin/cvs/repository.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/usr.bin/cvs/repository.c b/usr.bin/cvs/repository.c
index 4ef127ee509..9d2c8d2033f 100644
--- a/usr.bin/cvs/repository.c
+++ b/usr.bin/cvs/repository.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: repository.c,v 1.17 2008/01/31 13:54:12 tobias Exp $ */
+/* $OpenBSD: repository.c,v 1.18 2008/02/03 22:50:28 joris Exp $ */
/*
* Copyright (c) 2006 Joris Vink <joris@openbsd.org>
*
@@ -107,6 +107,11 @@ cvs_repository_getdir(const char *dir, const char *wdir,
(void)xsnprintf(fpath, MAXPATHLEN, "%s/%s", wdir, dp->d_name);
(void)xsnprintf(rpath, MAXPATHLEN, "%s/%s", dir, dp->d_name);
+ if (!TAILQ_EMPTY(&checkout_ign_pats)) {
+ if (cvs_file_chkign(fpath))
+ continue;
+ }
+
/*
* nfs and afs will show d_type as DT_UNKNOWN
* for files and/or directories so when we encounter