diff options
author | 2006-06-19 05:05:17 +0000 | |
---|---|---|
committer | 2006-06-19 05:05:17 +0000 | |
commit | bc5d89febeaab6c47cd95131528e7937f898db3c (patch) | |
tree | 2ae88e7d0cb087cb5b64d3178a7ddb1676bd755a /usr.bin/cvs/commit.c | |
parent | regen (diff) | |
download | wireguard-openbsd-bc5d89febeaab6c47cd95131528e7937f898db3c.tar.xz wireguard-openbsd-bc5d89febeaab6c47cd95131528e7937f898db3c.zip |
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); |