diff options
author | Xavier Santolaria <xsa@cvs.openbsd.org> | 2005-07-11 09:08:48 +0000 |
---|---|---|
committer | Xavier Santolaria <xsa@cvs.openbsd.org> | 2005-07-11 09:08:48 +0000 |
commit | 56dd6ccb1d43b896ab4b7fff71afae5718672d0b (patch) | |
tree | fb0bc9f107e4bb152d814932f3601557a717fcf4 | |
parent | aa2567081e0d1f873e9c251d24fc0a834b7304d2 (diff) |
display info message only if -q is not specified.
also display correct message wether -d is specified or not.
ok joris@
-rw-r--r-- | usr.bin/cvs/tag.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/cvs/tag.c b/usr.bin/cvs/tag.c index 64b22f01eaa..ab568d2fe35 100644 --- a/usr.bin/cvs/tag.c +++ b/usr.bin/cvs/tag.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tag.c,v 1.22 2005/07/07 14:27:57 joris Exp $ */ +/* $OpenBSD: tag.c,v 1.23 2005/07/11 09:08:47 xsa Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * Copyright (c) 2004 Joris Vink <joris@openbsd.org> @@ -253,7 +253,9 @@ cvs_tag_local(CVSFILE *cf, void *arg) cvs_file_getpath(cf, fpath, sizeof(fpath)); if (cf->cf_type == DT_DIR) { - cvs_log(LP_INFO, "Tagging %s", fpath); + if (verbosity > 1) + cvs_log(LP_INFO, "%s %s", + tag_delete ? "Untagging" : "Tagging", fpath); return (CVS_EX_OK); } |