diff options
author | Joris Vink <joris@cvs.openbsd.org> | 2005-03-30 17:43:05 +0000 |
---|---|---|
committer | Joris Vink <joris@cvs.openbsd.org> | 2005-03-30 17:43:05 +0000 |
commit | 5b986e03ce06f9622dda7f8bc1338d9de181b52d (patch) | |
tree | ce3b8bcfcc5e2b1e7167a18b4f7ad8d770c7105b /usr.bin/cvs/proto.c | |
parent | 25e5b3f683745187504de87e699abd81f29f67d8 (diff) |
move all the client commands to the new command framework.
eliminates a lot of duplicate code.
ok jfb@
Diffstat (limited to 'usr.bin/cvs/proto.c')
-rw-r--r-- | usr.bin/cvs/proto.c | 4 |
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) |