summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Santolaria <xsa@cvs.openbsd.org>2005-07-11 08:44:17 +0000
committerXavier Santolaria <xsa@cvs.openbsd.org>2005-07-11 08:44:17 +0000
commitaa2567081e0d1f873e9c251d24fc0a834b7304d2 (patch)
tree7d8e5eff0429ac9390de69f3303ea94a629b8697
parentf09a40a2a47faab799149daf04b0b0daa9418f9a (diff)
display warning message about an unknown file only if -Q is not specified;
-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 a940b583703..a6bb25f55cc 100644
--- a/usr.bin/cvs/getlog.c
+++ b/usr.bin/cvs/getlog.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: getlog.c,v 1.36 2005/07/11 08:36:58 xsa Exp $ */
+/* $OpenBSD: getlog.c,v 1.37 2005/07/11 08:44:16 xsa Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -213,7 +213,8 @@ cvs_getlog_local(CVSFILE *cf, void *arg)
struct cvsroot *root;
if (cf->cf_cvstat == CVS_FST_UNKNOWN) {
- cvs_log(LP_WARN, "nothing known about %s", cf->cf_name);
+ if (verbosity > 0)
+ cvs_log(LP_WARN, "nothing known about %s", cf->cf_name);
return (0);
}