summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/update.c
diff options
context:
space:
mode:
authorXavier Santolaria <xsa@cvs.openbsd.org>2005-05-20 18:26:50 +0000
committerXavier Santolaria <xsa@cvs.openbsd.org>2005-05-20 18:26:50 +0000
commit6d6ba437544c3dd4dce421dbabbb9b3b5662cbef (patch)
treeb606c29e2122df9199d427cefbf06496c761715c /usr.bin/cvs/update.c
parent59e38454dfc5679329512dafd063ac43760c9ecd (diff)
first bits of the `cvs -n' option; ok jfb joris
Diffstat (limited to 'usr.bin/cvs/update.c')
-rw-r--r--usr.bin/cvs/update.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/cvs/update.c b/usr.bin/cvs/update.c
index 344b325f019..cb66036c97e 100644
--- a/usr.bin/cvs/update.c
+++ b/usr.bin/cvs/update.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: update.c,v 1.26 2005/04/27 04:42:40 jfb Exp $ */
+/* $OpenBSD: update.c,v 1.27 2005/05/20 18:26:49 xsa Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -83,6 +83,8 @@ cvs_update_options(char *opt, int argc, char **argv, int *arg)
Pflag = 1;
break;
case 'p':
+ cvs_noexec = 1; /* no locks will be created */
+ break;
case 'Q':
case 'q':
break;