summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorXavier Santolaria <xsa@cvs.openbsd.org>2005-07-11 08:36:59 +0000
committerXavier Santolaria <xsa@cvs.openbsd.org>2005-07-11 08:36:59 +0000
commitf09a40a2a47faab799149daf04b0b0daa9418f9a (patch)
treebbc2061320936214d3f41c58b7857f04c5d4bc20 /usr.bin
parent318a3873cc1f56f265b156e68d3a9c7eb7f2da38 (diff)
display info message only if -q is not specified;
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/cvs/getlog.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/cvs/getlog.c b/usr.bin/cvs/getlog.c
index 8e818d56053..a940b583703 100644
--- a/usr.bin/cvs/getlog.c
+++ b/usr.bin/cvs/getlog.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: getlog.c,v 1.35 2005/07/07 14:27:57 joris Exp $ */
+/* $OpenBSD: getlog.c,v 1.36 2005/07/11 08:36:58 xsa Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -218,7 +218,8 @@ cvs_getlog_local(CVSFILE *cf, void *arg)
}
if (cf->cf_type == DT_DIR) {
- cvs_log(LP_INFO, "Logging %s", cf->cf_name);
+ if (verbosity > 1)
+ cvs_log(LP_INFO, "Logging %s", cf->cf_name);
return (0);
}