diff options
author | Xavier Santolaria <xsa@cvs.openbsd.org> | 2007-01-17 20:38:51 +0000 |
---|---|---|
committer | Xavier Santolaria <xsa@cvs.openbsd.org> | 2007-01-17 20:38:51 +0000 |
commit | f5b78cc329707cc9a5bd946350de7f7040567fbc (patch) | |
tree | 846c72be78458e9e0884e67e638a3e705544a14a /usr.bin/cvs | |
parent | 97eb97c5ef871b7f73c592795c48189cbb2b10e8 (diff) |
send -l Argument to server when appropriate.
Diffstat (limited to 'usr.bin/cvs')
-rw-r--r-- | usr.bin/cvs/checkout.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/cvs/checkout.c b/usr.bin/cvs/checkout.c index ccc6764f6da..da23f8a377b 100644 --- a/usr.bin/cvs/checkout.c +++ b/usr.bin/cvs/checkout.c @@ -1,4 +1,4 @@ -/* $OpenBSD: checkout.c,v 1.79 2007/01/17 17:54:50 joris Exp $ */ +/* $OpenBSD: checkout.c,v 1.80 2007/01/17 20:38:50 xsa Exp $ */ /* * Copyright (c) 2006 Joris Vink <joris@openbsd.org> * @@ -133,6 +133,9 @@ checkout_check_repository(int argc, char **argv) if (reset_stickies == 1) cvs_client_send_request("Argument -A"); + if (!(flags & CR_RECURSE_DIRS)) + cvs_client_send_request("Argument -l"); + if (cvs_cmdop == CVS_OP_CHECKOUT && prune_dirs == 1) cvs_client_send_request("Argument -P"); |