summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoris Vink <joris@cvs.openbsd.org>2006-06-05 02:03:16 +0000
committerJoris Vink <joris@cvs.openbsd.org>2006-06-05 02:03:16 +0000
commitbd7d457f5cd73db4dbe24074c8357bdda2fca65c (patch)
tree66e2d0f3e186851b215b0d77c1f6ee94e5c230b4
parent8dec4cd8f1c3e6192d5efb2fb8423a0d0af1e2ec (diff)
allow the re-adding of files with previous revisions
-rw-r--r--usr.bin/cvs/add.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/add.c b/usr.bin/cvs/add.c
index 451a37dadf3..5ac99829292 100644
--- a/usr.bin/cvs/add.c
+++ b/usr.bin/cvs/add.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: add.c,v 1.53 2006/06/04 09:52:56 joris Exp $ */
+/* $OpenBSD: add.c,v 1.54 2006/06/05 02:03:15 joris Exp $ */
/*
* Copyright (c) 2006 Joris Vink <joris@openbsd.org>
*
@@ -258,10 +258,10 @@ add_file(struct cvs_file *cf)
"(instead of dead revision %s)",
cf->file_path, revbuf);
} else {
- added++;
cvs_log(LP_NOTICE, "scheduling file '%s' for addition",
cf->file_path);
}
+ added++;
break;
default:
break;