diff options
author | 1997-06-28 03:45:20 +0000 | |
---|---|---|
committer | 1997-06-28 03:45:20 +0000 | |
commit | 066e68fa4069b9d7197ac82bee5eb7d28b6f0aa2 (patch) | |
tree | 2b550c1a8a0827cb97ef7f8c7d3a30e079bfe9ad /gnu/usr.bin/cvs/src/commit.c | |
parent | Missing files from initial import (diff) | |
download | wireguard-openbsd-066e68fa4069b9d7197ac82bee5eb7d28b6f0aa2.tar.xz wireguard-openbsd-066e68fa4069b9d7197ac82bee5eb7d28b6f0aa2.zip |
Integrate local changes
Diffstat (limited to 'gnu/usr.bin/cvs/src/commit.c')
-rw-r--r-- | gnu/usr.bin/cvs/src/commit.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/gnu/usr.bin/cvs/src/commit.c b/gnu/usr.bin/cvs/src/commit.c index 9d13391950b..c43e35f3538 100644 --- a/gnu/usr.bin/cvs/src/commit.c +++ b/gnu/usr.bin/cvs/src/commit.c @@ -332,7 +332,7 @@ commit (argc, argv) } #endif /* CVS_BADROOT */ - optind = 1; + optind = 0; while ((c = getopt (argc, argv, "+nlRm:fF:r:")) != -1) { switch (c) @@ -546,6 +546,16 @@ commit (argc, argv) previous versions of client/server CVS, but it probably is a Good Thing, or at least Not Such A Bad Thing. */ send_file_names (find_args.argc, find_args.argv, 0); + + /* FIXME: This whole find_args.force/SEND_FORCE business is a + kludge. It would seem to be a server bug that we have to + say that files are modified when they are not. This makes + "cvs commit -r 2" across a whole bunch of files a very slow + operation (and it isn't documented in cvsclient.texi). I + haven't looked at the server code carefully enough to be + _sure_ why this is needed, but if it is because RCS_CI + wants the file to exist, then it would be relatively simple + (but not trivial) to fix in the server. */ send_files (find_args.argc, find_args.argv, local, 0, find_args.force ? SEND_FORCE : 0); |