=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/cvs/Attic/proto.c,v retrieving revision 1.44 retrieving revision 1.45 diff -u -r1.44 -r1.45 --- src/usr.bin/cvs/Attic/proto.c 2005/03/26 08:09:54 1.44 +++ src/usr.bin/cvs/Attic/proto.c 2005/03/30 17:43:04 1.45 @@ -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 * All rights reserved. @@ -961,7 +961,7 @@ 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)