summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/remote.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/cvs/remote.c')
-rw-r--r--usr.bin/cvs/remote.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/cvs/remote.c b/usr.bin/cvs/remote.c
index f5094ff96a8..c1f83b00e54 100644
--- a/usr.bin/cvs/remote.c
+++ b/usr.bin/cvs/remote.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: remote.c,v 1.6 2007/01/13 15:29:34 joris Exp $ */
+/* $OpenBSD: remote.c,v 1.7 2007/01/18 16:45:52 joris Exp $ */
/*
* Copyright (c) 2006 Joris Vink <joris@openbsd.org>
*
@@ -245,5 +245,8 @@ cvs_remote_classify_file(struct cvs_file *cf)
} else if (cf->fd == -1) {
cf->file_status = FILE_UNKNOWN;
}
+
+ if (cvs_cmdop == CVS_OP_IMPORT && cf->file_type == CVS_FILE)
+ cf->file_status = FILE_MODIFIED;
}