diff options
author | Joris Vink <joris@cvs.openbsd.org> | 2006-06-19 05:05:18 +0000 |
---|---|---|
committer | Joris Vink <joris@cvs.openbsd.org> | 2006-06-19 05:05:18 +0000 |
commit | 215d3a82d2125515ff4319b928ee9941847c8272 (patch) | |
tree | ce8e169c30526ce6cb7b54f27ab64af235950590 /usr.bin/cvs/commit.c | |
parent | e7f1f343497e8e081891ccb40c0fa9e2894ba412 (diff) |
kill local and remote callback and just have one called fileproc.
we let the commands pass the correct function.
all in preparation for remote.
Diffstat (limited to 'usr.bin/cvs/commit.c')
-rw-r--r-- | usr.bin/cvs/commit.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/usr.bin/cvs/commit.c b/usr.bin/cvs/commit.c index 0c32ef3fd0a..b237be90963 100644 --- a/usr.bin/cvs/commit.c +++ b/usr.bin/cvs/commit.c @@ -1,4 +1,4 @@ -/* $OpenBSD: commit.c,v 1.74 2006/06/16 14:07:42 joris Exp $ */ +/* $OpenBSD: commit.c,v 1.75 2006/06/19 05:05:17 joris Exp $ */ /* * Copyright (c) 2006 Joris Vink <joris@openbsd.org> * Copyright (c) 2006 Xavier Santolaria <xsa@openbsd.org> @@ -92,8 +92,7 @@ cvs_commit(int argc, char **argv) cr.enterdir = NULL; cr.leavedir = NULL; - cr.local = cvs_commit_check_conflicts; - cr.remote = NULL; + cr.fileproc = cvs_commit_check_conflicts; cr.flags = flags; if (argc > 0) @@ -105,7 +104,7 @@ cvs_commit(int argc, char **argv) fatal("%d conflicts found, please correct these first", conflicts_found); - cr.local = cvs_commit_local; + cr.fileproc = cvs_commit_local; cvs_file_walklist(&files_affected, &cr); cvs_file_freelist(&files_affected); |