From 166599a34ee1bca619deb6673b5734131d9d8950 Mon Sep 17 00:00:00 2001 From: Xavier Santolaria Date: Thu, 7 Jul 2005 15:10:18 +0000 Subject: add info message when examining directories; Ok joris@. --- usr.bin/cvs/status.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'usr.bin/cvs/status.c') diff --git a/usr.bin/cvs/status.c b/usr.bin/cvs/status.c index ab22b946251..651038c68c7 100644 --- a/usr.bin/cvs/status.c +++ b/usr.bin/cvs/status.c @@ -1,4 +1,4 @@ -/* $OpenBSD: status.c,v 1.32 2005/07/07 14:08:41 joris Exp $ */ +/* $OpenBSD: status.c,v 1.33 2005/07/07 15:10:17 xsa Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau * All rights reserved. @@ -54,6 +54,8 @@ const char *cvs_statstr[] = { "Needs Checkout", }; +extern int verbosity; + static int cvs_status_init (struct cvs_cmd *, int, char **, int *); static int cvs_status_remote (CVSFILE *, void *); @@ -182,8 +184,11 @@ cvs_status_local(CVSFILE *cf, void *arg) RCSFILE *rf; struct cvsroot *root; - if (cf->cf_type == DT_DIR) + if (cf->cf_type == DT_DIR) { + if (verbosity > 1) + cvs_log(LP_INFO, "Examining %s", cf->cf_name); return (0); + } root = CVS_DIR_ROOT(cf); repo = CVS_DIR_REPO(cf); -- cgit v1.2.3