diff options
author | 2007-01-03 20:48:26 +0000 | |
---|---|---|
committer | 2007-01-03 20:48:26 +0000 | |
commit | 7fffa3cce46acafc698d4b7b7a25f7624dac5c48 (patch) | |
tree | 360e1c93866fc60749c82681839e4139219b2b27 /usr.bin/cvs/commit.c | |
parent | Fix format string misuse in kssl_err_set(), which is not (diff) | |
download | wireguard-openbsd-7fffa3cce46acafc698d4b7b7a25f7624dac5c48.tar.xz wireguard-openbsd-7fffa3cce46acafc698d4b7b7a25f7624dac5c48.zip |
if we are commiting a file, do not let the server resend it
with an 'Updated' response, seeing as the client will already have the
latest version. Instead, send the correct 'Checked-in' response.
Diffstat (limited to 'usr.bin/cvs/commit.c')
-rw-r--r-- | usr.bin/cvs/commit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/commit.c b/usr.bin/cvs/commit.c index bc5d1631b75..c11902e7415 100644 --- a/usr.bin/cvs/commit.c +++ b/usr.bin/cvs/commit.c @@ -1,4 +1,4 @@ -/* $OpenBSD: commit.c,v 1.83 2007/01/02 23:55:15 joris Exp $ */ +/* $OpenBSD: commit.c,v 1.84 2007/01/03 20:48:26 joris Exp $ */ /* * Copyright (c) 2006 Joris Vink <joris@openbsd.org> * Copyright (c) 2006 Xavier Santolaria <xsa@openbsd.org> @@ -330,7 +330,7 @@ cvs_commit_local(struct cvs_file *cf) if (b == NULL) fatal("cvs_commit_local: failed to get HEAD"); - cvs_checkout_file(cf, cf->file_rcs->rf_head, b, 0); + cvs_checkout_file(cf, cf->file_rcs->rf_head, b, CO_COMMIT); } else { entlist = cvs_ent_open(cf->file_wd); cvs_ent_remove(entlist, cf->file_name); |