diff options
author | Xavier Santolaria <xsa@cvs.openbsd.org> | 2005-07-11 08:36:59 +0000 |
---|---|---|
committer | Xavier Santolaria <xsa@cvs.openbsd.org> | 2005-07-11 08:36:59 +0000 |
commit | f09a40a2a47faab799149daf04b0b0daa9418f9a (patch) | |
tree | bbc2061320936214d3f41c58b7857f04c5d4bc20 /usr.bin | |
parent | 318a3873cc1f56f265b156e68d3a9c7eb7f2da38 (diff) |
display info message only if -q is not specified;
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/cvs/getlog.c | 5 |
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); } |