summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/status.c
diff options
context:
space:
mode:
authorJoris Vink <joris@cvs.openbsd.org>2008-06-08 16:20:50 +0000
committerJoris Vink <joris@cvs.openbsd.org>2008-06-08 16:20:50 +0000
commit83992e7971282d6bfbfa7c538b0e344287c5733c (patch)
tree5f5fe3b1ed361cf92cec54372b201aa6e0e5a29d /usr.bin/cvs/status.c
parent4f825f0fc4312f801c6d6503bf0d0e21d5e8c7c1 (diff)
there are more cases where we cannot show the tags when -v is specified.
noticed by tobias@
Diffstat (limited to 'usr.bin/cvs/status.c')
-rw-r--r--usr.bin/cvs/status.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/cvs/status.c b/usr.bin/cvs/status.c
index c13d5932e32..80a0761105c 100644
--- a/usr.bin/cvs/status.c
+++ b/usr.bin/cvs/status.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: status.c,v 1.84 2008/06/08 16:17:04 joris Exp $ */
+/* $OpenBSD: status.c,v 1.85 2008/06/08 16:20:49 joris Exp $ */
/*
* Copyright (c) 2006 Joris Vink <joris@openbsd.org>
* Copyright (c) 2005-2008 Xavier Santolaria <xsa@openbsd.org>
@@ -230,7 +230,8 @@ cvs_status_local(struct cvs_file *cf)
cvs_printf(" Sticky Options:\t(none)\n");
}
- if (cf->file_status != FILE_UNKNOWN && show_sym == 1) {
+ if (cf->file_status == FILE_UPTODATE &&
+ cf->file_status != FILE_MODIFIED && show_sym == 1) {
cvs_printf("\n");
cvs_printf(" Existing Tags:\n");