summaryrefslogtreecommitdiffstats
path: root/usr.bin/cvs/proto.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/cvs/proto.c')
-rw-r--r--usr.bin/cvs/proto.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/proto.c b/usr.bin/cvs/proto.c
index f155f69dc7f..bb0ae6b904e 100644
--- a/usr.bin/cvs/proto.c
+++ b/usr.bin/cvs/proto.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: proto.c,v 1.44 2005/03/26 08:09:54 tedu Exp $ */
+/* $OpenBSD: proto.c,v 1.45 2005/03/30 17:43:04 joris Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -961,7 +961,7 @@ cvs_senddir(struct cvsroot *root, CVSFILE *dir)
char lbuf[MAXPATHLEN], rbuf[MAXPATHLEN];
cvs_file_getpath(dir, lbuf, sizeof(lbuf));
- if (strcmp(lbuf, cvs_lastdir) == 0)
+ if (strcmp(lbuf, cvs_lastdir) == 0 && cvs_cmdop != CVS_OP_CHECKOUT)
return (0);
if (dir->cf_ddat->cd_repo == NULL)