diff options
author | 2005-07-07 15:10:17 +0000 | |
---|---|---|
committer | 2005-07-07 15:10:17 +0000 | |
commit | 7d73e7b04e70e5caa3ad7089f45a839da205a513 (patch) | |
tree | 4dd28096516e19592d92456f2036d83981efa36c /usr.bin/cvs | |
parent | Repotec RP-WU0402 has only one revision which happens to be a (diff) | |
download | wireguard-openbsd-7d73e7b04e70e5caa3ad7089f45a839da205a513.tar.xz wireguard-openbsd-7d73e7b04e70e5caa3ad7089f45a839da205a513.zip |
add info message when examining directories; Ok joris@.
Diffstat (limited to 'usr.bin/cvs')
-rw-r--r-- | usr.bin/cvs/status.c | 9 |
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); |