summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/cvs/client.c')
-rw-r--r--usr.bin/cvs/client.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/usr.bin/cvs/client.c b/usr.bin/cvs/client.c
index 0be78ffa2df..c065c9e11bf 100644
--- a/usr.bin/cvs/client.c
+++ b/usr.bin/cvs/client.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: client.c,v 1.19 2006/11/10 10:53:06 xsa Exp $ */
+/* $OpenBSD: client.c,v 1.20 2006/11/10 11:02:05 xsa Exp $ */
/*
* Copyright (c) 2006 Joris Vink <joris@openbsd.org>
*
@@ -246,12 +246,18 @@ cvs_client_connect_to_server(void)
cvs_client_send_request("valid-requests");
cvs_client_get_responses();
+ if (cvs_nolog == 1)
+ cvs_client_send_request("Global_option -l");
+
if (cvs_noexec == 1)
cvs_client_send_request("Global_option -n");
if (verbosity == 0)
cvs_client_send_request("Global_option -Q");
+ /* Be quiet. This is the default in OpenCVS. */
+ cvs_client_send_request("Global_option -q");
+
if (cvs_readonly == 1)
cvs_client_send_request("Global_option -r");