diff options
author | Joris Vink <joris@cvs.openbsd.org> | 2007-01-13 15:46:00 +0000 |
---|---|---|
committer | Joris Vink <joris@cvs.openbsd.org> | 2007-01-13 15:46:00 +0000 |
commit | 33da486f0b07596f8124fff0c7bac44afd3859d0 (patch) | |
tree | 18293dab0910cec80e5fc8d26099505f43364b08 /usr.bin/cvs/commit.c | |
parent | c8b3d5534051a076fe062300cf465e1d046d7d73 (diff) |
remove BUF * argument from cvs_checkout_file() it will
no longer be used, ever.
Diffstat (limited to 'usr.bin/cvs/commit.c')
-rw-r--r-- | usr.bin/cvs/commit.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/usr.bin/cvs/commit.c b/usr.bin/cvs/commit.c index 9281b878826..205dfbc452a 100644 --- a/usr.bin/cvs/commit.c +++ b/usr.bin/cvs/commit.c @@ -1,4 +1,4 @@ -/* $OpenBSD: commit.c,v 1.94 2007/01/12 23:32:01 niallo Exp $ */ +/* $OpenBSD: commit.c,v 1.95 2007/01/13 15:45:59 joris Exp $ */ /* * Copyright (c) 2006 Joris Vink <joris@openbsd.org> * Copyright (c) 2006 Xavier Santolaria <xsa@openbsd.org> @@ -344,11 +344,7 @@ cvs_commit_local(struct cvs_file *cf) cf->fd = -1; if (cf->file_status != FILE_REMOVED) { - b = rcs_getrev(cf->file_rcs, cf->file_rcs->rf_head); - if (b == NULL) - fatal("cvs_commit_local: failed to get HEAD"); - - cvs_checkout_file(cf, cf->file_rcs->rf_head, b, CO_COMMIT); + cvs_checkout_file(cf, cf->file_rcs->rf_head, CO_COMMIT); } else { entlist = cvs_ent_open(cf->file_wd); cvs_ent_remove(entlist, cf->file_name); |