summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/checkout.c
diff options
context:
space:
mode:
authorXavier Santolaria <xsa@cvs.openbsd.org>2005-05-29 17:48:45 +0000
committerXavier Santolaria <xsa@cvs.openbsd.org>2005-05-29 17:48:45 +0000
commitecd0e847cc9b1f379243478ab2c1443cca6b79e8 (patch)
treebd2b16f6b2063e7f1f6387a11f0e5c8514119982 /usr.bin/cvs/checkout.c
parentbe64a50ad39e8b2c4d98d970746244190bb4f3b3 (diff)
-r implies -P (Prune empty directories);
Diffstat (limited to 'usr.bin/cvs/checkout.c')
-rw-r--r--usr.bin/cvs/checkout.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/cvs/checkout.c b/usr.bin/cvs/checkout.c
index b702909195e..8279eafd8e1 100644
--- a/usr.bin/cvs/checkout.c
+++ b/usr.bin/cvs/checkout.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: checkout.c,v 1.24 2005/05/26 03:07:20 joris Exp $ */
+/* $OpenBSD: checkout.c,v 1.25 2005/05/29 17:48:44 xsa Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -119,6 +119,7 @@ cvs_checkout_init(struct cvs_cmd *cmd, int argc, char **argv, int *arg)
break;
case 'r':
rev = optarg;
+ cmd->cmd_flags |= CVS_CMD_PRUNEDIRS;
break;
case 's':
statmod = CVS_STATMOD;