diff options
Diffstat (limited to 'usr.bin/cvs/diff.c')
-rw-r--r-- | usr.bin/cvs/diff.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.bin/cvs/diff.c b/usr.bin/cvs/diff.c index 82f38d29eb0..d86c9275a08 100644 --- a/usr.bin/cvs/diff.c +++ b/usr.bin/cvs/diff.c @@ -1,4 +1,4 @@ -/* $OpenBSD: diff.c,v 1.45 2005/07/09 18:56:16 niallo Exp $ */ +/* $OpenBSD: diff.c,v 1.46 2005/07/10 13:53:51 xsa Exp $ */ /* * Copyright (C) Caldera International Inc. 2001-2002. * All rights reserved. @@ -205,6 +205,8 @@ struct diff_arg { char *date2; }; +extern int verbosity; + static int cvs_diff_init (struct cvs_cmd *, int, char **, int *); static int cvs_diff_remote (CVSFILE *, void *); @@ -596,7 +598,8 @@ cvs_diff_local(CVSFILE *cf, void *arg) diff_file = cvs_file_getpath(cf, fpath, sizeof(fpath)); if (cf->cf_type == DT_DIR) { - cvs_log(LP_INFO, "Diffing %s", fpath); + if (verbosity > 1) + cvs_log(LP_INFO, "Diffing %s", fpath); return (0); } |