diff options
author | Joris Vink <joris@cvs.openbsd.org> | 2009-03-23 07:28:06 +0000 |
---|---|---|
committer | Joris Vink <joris@cvs.openbsd.org> | 2009-03-23 07:28:06 +0000 |
commit | f9bc3b10db275679d66aa30b347d5ec584f3d694 (patch) | |
tree | b243309305851f139d28e0f7c2f41e55081f5369 /usr.bin/cvs/diff.c | |
parent | dd0fe4a71cc5662af2109d5d2f9e38ecc7e6649c (diff) |
any directory messages are, believe it or not, suppose to go to LP_ERR
instead of LP_NOTICE, while here modify output for non-existing
files to match "? foobar" instead of "cannot find foobar".
makes our output a little less alien and a little bit more gnuish.
Diffstat (limited to 'usr.bin/cvs/diff.c')
-rw-r--r-- | usr.bin/cvs/diff.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/usr.bin/cvs/diff.c b/usr.bin/cvs/diff.c index ab7ff86b857..44aacf04af9 100644 --- a/usr.bin/cvs/diff.c +++ b/usr.bin/cvs/diff.c @@ -1,4 +1,4 @@ -/* $OpenBSD: diff.c,v 1.146 2009/03/19 10:09:16 joris Exp $ */ +/* $OpenBSD: diff.c,v 1.147 2009/03/23 07:28:05 joris Exp $ */ /* * Copyright (c) 2008 Tobias Stoeckmann <tobias@openbsd.org> * Copyright (c) 2006 Joris Vink <joris@openbsd.org> @@ -266,7 +266,7 @@ cvs_diff_local(struct cvs_file *cf) if (cf->file_type == CVS_DIR) { if (verbosity > 1) - cvs_log(LP_NOTICE, "Diffing inside %s", cf->file_path); + cvs_log(LP_ERR, "Diffing inside %s", cf->file_path); return; } @@ -306,8 +306,7 @@ cvs_diff_local(struct cvs_file *cf) break; default: if (!(cf->file_flags & FILE_ON_DISK)) { - cvs_log(LP_ERR, "cannot find %s", - cf->file_path); + cvs_printf("? %s\n", cf->file_path); return; } |