summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/status.c
diff options
context:
space:
mode:
authorXavier Santolaria <xsa@cvs.openbsd.org>2005-07-07 15:10:18 +0000
committerXavier Santolaria <xsa@cvs.openbsd.org>2005-07-07 15:10:18 +0000
commit166599a34ee1bca619deb6673b5734131d9d8950 (patch)
tree86530bdb03eb0dca4bac8e0762e66b3ac8abe039 /usr.bin/cvs/status.c
parent167fceee2f3154cfd88a56bfde1461d3be632134 (diff)
add info message when examining directories; Ok joris@.
Diffstat (limited to 'usr.bin/cvs/status.c')
-rw-r--r--usr.bin/cvs/status.c9
1 files changed, 7 insertions, 2 deletions
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 <jfb@openbsd.org>
* 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);