diff options
author | Tobias Stoeckmann <tobias@cvs.openbsd.org> | 2008-03-09 02:30:43 +0000 |
---|---|---|
committer | Tobias Stoeckmann <tobias@cvs.openbsd.org> | 2008-03-09 02:30:43 +0000 |
commit | e73f6ce6311fab0383aeae9909ebb8e01f61fbcf (patch) | |
tree | e2741c98b790e1172ae35cdb7a28f26e8db51776 /usr.bin | |
parent | 6e8d56efb45a376d64a3ccf5d27af3b7d1e26ffd (diff) |
cf->user_supplied cannot be used in cvs_file_classify for all commands
(like import, add, commit), so revert this change until a universal
solution is found.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/cvs/file.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/file.c b/usr.bin/cvs/file.c index cc071ae025c..53b75a455f9 100644 --- a/usr.bin/cvs/file.c +++ b/usr.bin/cvs/file.c @@ -1,4 +1,4 @@ -/* $OpenBSD: file.c,v 1.231 2008/03/09 02:06:32 tobias Exp $ */ +/* $OpenBSD: file.c,v 1.232 2008/03/09 02:30:42 tobias Exp $ */ /* * Copyright (c) 2006 Joris Vink <joris@openbsd.org> * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> @@ -619,7 +619,7 @@ cvs_file_classify(struct cvs_file *cf, const char *tag) cvs_log(LP_TRACE, "cvs_file_classify(%s, %s)", cf->file_path, (tag != NULL) ? tag : "none"); - if (cf->file_type == CVS_DIR && cf->user_supplied) { + if (!strcmp(cf->file_path, ".")) { cf->file_status = FILE_UPTODATE; return; } |