diff options
author | Tobias Stoeckmann <tobias@cvs.openbsd.org> | 2008-01-28 21:35:10 +0000 |
---|---|---|
committer | Tobias Stoeckmann <tobias@cvs.openbsd.org> | 2008-01-28 21:35:10 +0000 |
commit | 1319fba77d2cf6c6edb930e2e0b6da953a21fb3e (patch) | |
tree | c52db448654b58d3582c5eddd70889dd2f3c7ec7 /usr.bin/cvs/checkout.c | |
parent | cd2fd9f57e4f1383574a63e5c86f44415fb6767f (diff) |
Actually support checkout's -l.
OK xsa@
Diffstat (limited to 'usr.bin/cvs/checkout.c')
-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); |