diff options
-rw-r--r-- | usr.bin/cvs/checkout.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/cvs/checkout.c b/usr.bin/cvs/checkout.c index 29f2be74a91..5c921ab7497 100644 --- a/usr.bin/cvs/checkout.c +++ b/usr.bin/cvs/checkout.c @@ -1,4 +1,4 @@ -/* $OpenBSD: checkout.c,v 1.110 2008/01/28 20:31:07 tobias Exp $ */ +/* $OpenBSD: checkout.c,v 1.111 2008/01/28 21:35:09 tobias Exp $ */ /* * Copyright (c) 2006 Joris Vink <joris@openbsd.org> * @@ -243,7 +243,8 @@ checkout_repository(const char *repobase, const char *wdbase) cr.flags = flags; cvs_repository_lock(repobase); - cvs_repository_getdir(repobase, wdbase, &fl, &dl, 1); + cvs_repository_getdir(repobase, wdbase, &fl, &dl, + flags & CR_RECURSE_DIRS ? 1 : 0); cvs_file_walklist(&fl, &cr); cvs_file_freelist(&fl); |