summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/status.c
diff options
context:
space:
mode:
authorJoris Vink <joris@cvs.openbsd.org>2005-04-16 20:26:06 +0000
committerJoris Vink <joris@cvs.openbsd.org>2005-04-16 20:26:06 +0000
commit707d3e467aee09957646f6bec04e4a120b9f4b29 (patch)
tree40868343f5110b374b996aac30cc979490038c00 /usr.bin/cvs/status.c
parent0e7b2118cbe77c28655ff3e45b9d8a22b724b2ed (diff)
make sure we send the correct stuff for newly added files that
are not commited yet.
Diffstat (limited to 'usr.bin/cvs/status.c')
-rw-r--r--usr.bin/cvs/status.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/cvs/status.c b/usr.bin/cvs/status.c
index 7016ba6a06c..00a38de945f 100644
--- a/usr.bin/cvs/status.c
+++ b/usr.bin/cvs/status.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: status.c,v 1.16 2005/04/12 16:56:07 jfb Exp $ */
+/* $OpenBSD: status.c,v 1.17 2005/04/16 20:26:05 joris Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -150,6 +150,7 @@ cvs_status_file(CVSFILE *cfp, void *arg)
ret = cvs_sendreq(root, CVS_REQ_UNCHANGED,
CVS_FILE_NAME(cfp));
break;
+ case CVS_FST_ADDED:
case CVS_FST_MODIFIED:
ret = cvs_sendreq(root, CVS_REQ_MODIFIED,
CVS_FILE_NAME(cfp));